Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfrastructureError ¶
InfrastructureError represents an Infrastructure error such as database connection, HTTP request errors etc
func NewInfrastructureError ¶
func NewInfrastructureError(message string, cause error) *InfrastructureError
func (*InfrastructureError) Error ¶
func (e *InfrastructureError) Error() string
type NotFoundError ¶
type NotFoundError struct {
Message string
}
NotFoundError represents a not found error
func NewNotFoundError ¶
func NewNotFoundError(message string) *NotFoundError
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
type PermissionDeniedError ¶
PermissionDeniedError represents a permission denied error. It indicates the caller does not have permission to execute the specified operation
func NewPermissionDeniedError ¶
func NewPermissionDeniedError(message string, cause error) *PermissionDeniedError
func (*PermissionDeniedError) Error ¶
func (e *PermissionDeniedError) Error() string
type ValidationError ¶
ValidationError represents a data validation error
func NewValidationError ¶
func NewValidationError(message, fieldName string) *ValidationError
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.