Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserBackend ¶
type UserBackendError ¶
type UserBackendError struct { Code UserBackendErrorCode Message string }
func NewUserBackendError ¶
func NewUserBackendError(code UserBackendErrorCode) UserBackendError
func (UserBackendError) Error ¶
func (sr UserBackendError) Error() string
func (UserBackendError) WithMessage ¶
func (sr UserBackendError) WithMessage(msg string) UserBackendError
type UserBackendErrorCode ¶
type UserBackendErrorCode string
const ( UserBackendErrorNotFound UserBackendErrorCode = "USERBACKEND_ERROR_NOT_FOUND" UserBackendErrorInvalidCredentials = "USERBACKED_ERROR_INVALID_CREDENTIALS" )
Click to show internal directories.
Click to hide internal directories.