diff options
Diffstat (limited to 'proto/strfail.go')
| -rw-r--r-- | proto/strfail.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/proto/strfail.go b/proto/strfail.go index 1ce160c..477df1a 100644 --- a/proto/strfail.go +++ b/proto/strfail.go @@ -19,8 +19,14 @@ func Strfail(fail Object) string { case "not-in-channel": return "you are not a member of this channel: " + fail.Fields[""] case "bad-reply": - return "this is not a message you can reply to" + return "cannot reply to message (or message not found)" + case "incorrect-password": + return "incorrect username or password" + case "password-required": + return "you must log in with a password to do that" + case "bad-auth-id": + return "cannot login as this user (or user not found)" default: - return "unknown error" + return "unknown error (" + fail.Kind + ")" } } |
