Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadImplementationError ¶
type BadImplementationError struct {
*BaseError
}
func NewBadImplementationError ¶
func NewBadImplementationError(msg string, inner error) *BadImplementationError
NewBadImplementationError creates a new BadImplementationError with the given message and inner error. It returns a pointer to the created BadImplementationError.
type BaseError ¶
func (*BaseError) GetMessage ¶
type BaseErrorInterface ¶
type DuplicateKeyError ¶
type DuplicateKeyError struct {
*BaseError
}
func NewDuplicateKeyError ¶
func NewDuplicateKeyError(msg string, inner error) *DuplicateKeyError
NewDuplicateKeyError creates a new DuplicateKeyError with the given message and inner error. It returns a pointer to the created DuplicateKeyError.
type InternalServerError ¶
type InternalServerError struct {
*BaseError
}
func NewInternalServerError ¶
func NewInternalServerError(msg string, inner error) *InternalServerError
NewInternalServerError creates a new InternalServerError with the given message and inner error. It returns a pointer to the created InternalServerError.
type NotFoundError ¶
type NotFoundError struct {
*BaseError
}
func NewNotFoundError ¶
func NewNotFoundError(msg string, inner error) *NotFoundError
NewNotFoundError creates a new NotFoundError with the given message and inner error. It returns a pointer to the created NotFoundError.
type UnauthorizedError ¶
type UnauthorizedError struct {
}func NewUnauthorizedError ¶
func NewUnauthorizedError(msg string, inner error) *UnauthorizedError
NewUnauthorizedError creates a new UnauthorizedError with the given message and inner error. It returns a pointer to the created UnauthorizedError.