Skip to content

Commit

Permalink
chore: add more details to the error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellgithinji committed Nov 13, 2021
1 parent 0ea8d1b commit 7c2a6ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions error_codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,17 @@ const (
NavigationActionsError

// GetInviteLinkError means that the system is unable to get a user's invite link'
// the flavour passed when generating the invite link is invalid
// Its error code is 60
GetInviteLinkError

// SendInviteSMSError means that the system is unable to send an invite SMS' to a user'
// the system failed to make a successful request to the messaging service
// Its error code is 61
SendInviteSMSError

// GenerateTempPINError means that the system is unable to generate a temporary PIN'
// the random number generator has failed (which is highly unlikely)
// Its error code is 62
GenerateTempPINError
)

0 comments on commit 7c2a6ac

Please sign in to comment.