Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrPermission ¶
type ErrPermission struct {
// contains filtered or unexported fields
}
func NewPermissionError ¶
func NewPermissionError(e error) *ErrPermission
NewPermissionError returns a warpped ErrPermission
func (*ErrPermission) ErrCode ¶
func (e *ErrPermission) ErrCode() model.ErrorCode
func (*ErrPermission) Error ¶
func (e *ErrPermission) Error() string
func (*ErrPermission) Unwrap ¶
func (e *ErrPermission) Unwrap() error
type ErrRuntime ¶
type ErrRuntime struct {
// contains filtered or unexported fields
}
func NewRuntimeError ¶
func NewRuntimeError(e error) *ErrRuntime
NewRuntimeError returns a warpped ErrRuntime
func (*ErrRuntime) ErrCode ¶
func (e *ErrRuntime) ErrCode() model.ErrorCode
func (*ErrRuntime) Error ¶
func (e *ErrRuntime) Error() string
func (*ErrRuntime) Unwrap ¶
func (e *ErrRuntime) Unwrap() error
type ErrTaskFailed ¶
type ErrTaskFailed struct {
// contains filtered or unexported fields
}
func NewTaskFailelError ¶
func NewTaskFailelError(e error) *ErrTaskFailed
NewTaskFailelError returns a warpped ErrTaskFailed
func (*ErrTaskFailed) ErrCode ¶
func (e *ErrTaskFailed) ErrCode() model.ErrorCode
func (*ErrTaskFailed) Error ¶
func (e *ErrTaskFailed) Error() string
func (*ErrTaskFailed) Unwrap ¶
func (e *ErrTaskFailed) Unwrap() error
type ErrTimeout ¶
type ErrTimeout struct {
// contains filtered or unexported fields
}
func NewTimeoutError ¶
func NewTimeoutError(e error) *ErrTimeout
NewTimeoutError returns a warpped ErrTimeout
func (*ErrTimeout) ErrCode ¶
func (e *ErrTimeout) ErrCode() model.ErrorCode
func (*ErrTimeout) Error ¶
func (e *ErrTimeout) Error() string
func (*ErrTimeout) Unwrap ¶
func (e *ErrTimeout) Unwrap() error
Click to show internal directories.
Click to hide internal directories.