Adding UknownError

This commit is contained in:
Denis-Cosmin Nutiu 2017-10-20 18:25:47 +03:00
parent c9725bd926
commit 24b0a634d8

View file

@ -12,7 +12,9 @@ type InputError struct {
func (e *InputError) Error() string { return "Error: " + e.Op + ": " + e.Err.Error() }
// Input Errors
var (
UnknownError = errors.New("Unknown Error.")
InvalidCommand = errors.New("Invalid command.")
TooManyArguments = errors.New("Too many arguments.")
TooFewArguments = errors.New("Too few arguments.")