Documentation ¶
Index ¶
- type ApiError
- type ApiErrorInterface
- type DataConversionError
- type DataNotFoundError
- type DatabaseQueryError
- type DatabaseUpdateError
- type DynamoPutError
- type DynamoQueryError
- type JSONParseError
- type JWTSignatureMismatch
- type JWTTokenExpiredError
- type LogicError
- type MissingAuthHeader
- type MissingRequiredRequestInformationError
- type PasswordToShort
- type UnauthorizedError
- type UserDoesNotHaveSufficientPermissions
- type UserNotFound
- type WrongPasswordError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiErrorInterface ¶
type DataConversionError ¶
type DataConversionError struct {
ApiError
}
func (DataConversionError) Error ¶
func (c DataConversionError) Error() string
func (DataConversionError) GetStatusCode ¶
func (c DataConversionError) GetStatusCode() int
type DataNotFoundError ¶
func (DataNotFoundError) Error ¶
func (c DataNotFoundError) Error() string
func (DataNotFoundError) GetStatusCode ¶
func (c DataNotFoundError) GetStatusCode() int
type DatabaseQueryError ¶
func (*DatabaseQueryError) Error ¶
func (d *DatabaseQueryError) Error() string
func (DatabaseQueryError) GetStatusCode ¶
func (d DatabaseQueryError) GetStatusCode() int
type DatabaseUpdateError ¶
func (*DatabaseUpdateError) Error ¶
func (d *DatabaseUpdateError) Error() string
func (DatabaseUpdateError) GetStatusCode ¶
func (d DatabaseUpdateError) GetStatusCode() int
type DynamoPutError ¶
type DynamoPutError struct {
ApiError
}
func (DynamoPutError) Error ¶
func (d DynamoPutError) Error() string
func (DynamoPutError) GetStatusCode ¶
func (d DynamoPutError) GetStatusCode() int
type DynamoQueryError ¶
type DynamoQueryError struct { ApiError Query *dynamodb.QueryInput }
func (DynamoQueryError) Error ¶
func (d DynamoQueryError) Error() string
func (DynamoQueryError) GetStatusCode ¶
func (d DynamoQueryError) GetStatusCode() int
type JSONParseError ¶
type JSONParseError struct {
ApiError
}
func (JSONParseError) Error ¶
func (j JSONParseError) Error() string
func (JSONParseError) GetStatusCode ¶
func (j JSONParseError) GetStatusCode() int
type JWTSignatureMismatch ¶
type JWTSignatureMismatch struct{}
func (JWTSignatureMismatch) Error ¶
func (j JWTSignatureMismatch) Error() string
type JWTTokenExpiredError ¶
type JWTTokenExpiredError struct{}
func (JWTTokenExpiredError) Error ¶
func (j JWTTokenExpiredError) Error() string
type LogicError ¶
type LogicError struct {
ApiError
}
func (LogicError) Error ¶
func (a LogicError) Error() string
func (LogicError) GetStatusCode ¶
func (a LogicError) GetStatusCode() int
type MissingAuthHeader ¶
type MissingAuthHeader struct {
ApiError
}
func (MissingAuthHeader) Error ¶
func (m MissingAuthHeader) Error() string
func (MissingAuthHeader) GetStatusCode ¶
func (m MissingAuthHeader) GetStatusCode() int
type MissingRequiredRequestInformationError ¶
type MissingRequiredRequestInformationError struct {
Needs []string
}
func (MissingRequiredRequestInformationError) Error ¶
func (m MissingRequiredRequestInformationError) Error() string
func (MissingRequiredRequestInformationError) GetStatusCode ¶
func (m MissingRequiredRequestInformationError) GetStatusCode() int
type PasswordToShort ¶
type PasswordToShort struct {
ApiError
}
func (PasswordToShort) Error ¶
func (p PasswordToShort) Error() string
func (PasswordToShort) GetStatusCode ¶
func (p PasswordToShort) GetStatusCode() int
type UnauthorizedError ¶
type UnauthorizedError struct {
}func (UnauthorizedError) Error ¶
func (u UnauthorizedError) Error() string
func (UnauthorizedError) GetStatusCode ¶
func (u UnauthorizedError) GetStatusCode() int
type UserDoesNotHaveSufficientPermissions ¶
type UserDoesNotHaveSufficientPermissions struct {
ApiError
}
func (UserDoesNotHaveSufficientPermissions) Error ¶
func (u UserDoesNotHaveSufficientPermissions) Error() string
func (UserDoesNotHaveSufficientPermissions) GetStatusCode ¶
func (u UserDoesNotHaveSufficientPermissions) GetStatusCode() int
type UserNotFound ¶
func (UserNotFound) Error ¶
func (u UserNotFound) Error() string
func (UserNotFound) GetStatusCode ¶
func (u UserNotFound) GetStatusCode() int
type WrongPasswordError ¶
type WrongPasswordError struct {
ApiError
}
func (WrongPasswordError) Error ¶
func (w WrongPasswordError) Error() string
func (WrongPasswordError) GetStatusCode ¶
func (w WrongPasswordError) GetStatusCode() int
Click to show internal directories.
Click to hide internal directories.