Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalError ¶
type InternalError string
var ( AuthCodeExpired InternalError = "auth code expired" AuthCodeNotFound InternalError = "auth code not found" AuthCodeUsed InternalError = "auth code used" CacheFieldDuplicated InternalError = "cache field duplicated" CacheKeyNotFound InternalError = "cache key not found" ClientIDNotMatched InternalError = "client id not matched" ConsentNotFound InternalError = "consent not found" CredentialNotFoundInHeader InternalError = "credential not found in header" FailedToInitialize InternalError = "failed to initialize" FailedToReadAuthorizationParameters InternalError = "failed to read authorization parameters" FailedToReadResponseBody InternalError = "failed to read response body" FailedToReadSession InternalError = "failed to read session" FailedToSetTimeoutOnCacheKey InternalError = "failed to set timeout on cache key" FailedToValidate InternalError = "failed to validate" FailedToWriteCache InternalError = "failed to write cache" InvalidPath InternalError = "invalid path" InvalidRedirectURI InternalError = "invalid redirect uri" InvalidResponseType InternalError = "invalid response type" InvalidToken InternalError = "invalid token" PasswordNotMatched InternalError = "password not matched" RecordNotFound InternalError = "record not found" RedirectURINotFound InternalError = "redirect uri not found" RefreshTokenNotFound InternalError = "refresh token not found" RefreshTokenNotMatched InternalError = "refresh token not matched" TokenNotFoundInHeader InternalError = "token not found in header" UnexpectedErrorOccurred InternalError = "unexpected error occurred" UnknownSecurityScheme InternalError = "unknown security scheme" UnsupportedClaim InternalError = "unsupported claim" UserIDNotFoundInContext InternalError = "user id not found in context" UserNotFound InternalError = "user not found" )
func (InternalError) Error ¶
func (ie InternalError) Error() string
func (InternalError) Wrap ¶
func (ie InternalError) Wrap(e error) error
type PublicError ¶
type PublicError string
var ( InvalidRequest PublicError = "invalid request" InvalidUsernameOrPassword PublicError = "invalid username or password" OK PublicError = "ok" UnexpectedErrorOccurred2 PublicError = "unexpected error occurred" )
func (PublicError) Error ¶
func (pe PublicError) Error() string
Click to show internal directories.
Click to hide internal directories.