Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoEntity = errors.New("no entity was found")
Functions ¶
This section is empty.
Types ¶
type ClientError ¶
func NewClientError ¶
func NewClientError(errorType ClientErrorType, err error) ClientError
func (ClientError) Error ¶
func (err ClientError) Error() string
func (ClientError) Unwrap ¶
func (err ClientError) Unwrap() error
type ClientErrorType ¶
type ClientErrorType int
const ( Common ClientErrorType = iota WrongAuthorization WrongRequest WrongAuthToken NoClient WrongOneTimeCode )
Click to show internal directories.
Click to hide internal directories.