Adding UknownError
This commit is contained in:
parent
c9725bd926
commit
24b0a634d8
1 changed files with 2 additions and 0 deletions
|
@ -12,7 +12,9 @@ type InputError struct {
|
||||||
|
|
||||||
func (e *InputError) Error() string { return "Error: " + e.Op + ": " + e.Err.Error() }
|
func (e *InputError) Error() string { return "Error: " + e.Op + ": " + e.Err.Error() }
|
||||||
|
|
||||||
|
// Input Errors
|
||||||
var (
|
var (
|
||||||
|
UnknownError = errors.New("Unknown Error.")
|
||||||
InvalidCommand = errors.New("Invalid command.")
|
InvalidCommand = errors.New("Invalid command.")
|
||||||
TooManyArguments = errors.New("Too many arguments.")
|
TooManyArguments = errors.New("Too many arguments.")
|
||||||
TooFewArguments = errors.New("Too few arguments.")
|
TooFewArguments = errors.New("Too few arguments.")
|
||||||
|
|
Loading…
Reference in a new issue