Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainError ¶
type DomainError struct { }
type HandlerError ¶
type HandlerError struct { }
type IError ¶
func NewRemoteError ¶
type IRemoteError ¶
type IRemoteError interface { IError }
type RepositoryError ¶
type RepositoryError struct { }
type ResultError ¶
type ResultError struct {
Errors []string
}
func NewResultError ¶
func NewResultError() *ResultError
func (*ResultError) Add ¶
func (e *ResultError) Add(msg string)
func (*ResultError) Error ¶
func (e *ResultError) Error() string
func (*ResultError) HasError ¶
func (e *ResultError) HasError() bool
func (*ResultError) Is ¶
func (e *ResultError) Is(err error) bool
func (*ResultError) ToError ¶
func (e *ResultError) ToError() error
type UseCaseError ¶
type UseCaseError struct { }
type ValidationError ¶
type ValidationError struct {
Errors []string
}
func NewValidationError ¶
func NewValidationError() *ValidationError
func (*ValidationError) Add ¶
func (e *ValidationError) Add(msg string)
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
func (*ValidationError) HasError ¶
func (e *ValidationError) HasError() bool
func (*ValidationError) ToError ¶
func (e *ValidationError) ToError() error
Click to show internal directories.
Click to hide internal directories.