Documentation
¶
Overview ¶
Package errors defines the common errors
Index ¶
- func IsArgumentError(err error) bool
- func IsArgumentNilError(err error) bool
- func NewArgumentError(argumentName, message string) error
- func NewArgumentErrorWithError(argumentName, message string, err error) error
- func NewArgumentNilError(argumentName, message string) error
- func NewArgumentNilErrorWithError(argumentName, message string, err error) error
- type ArgumentError
- type ArgumentNilError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsArgumentError ¶ added in v0.0.5
func IsArgumentNilError ¶ added in v0.0.5
func NewArgumentError ¶
NewArgumentError creates a new ArgumentError error
func NewArgumentErrorWithError ¶ added in v0.0.6
NewArgumentError creates a new ArgumentError error
func NewArgumentNilError ¶
NewArgumentNilError creates a new ArgumentNilError error
func NewArgumentNilErrorWithError ¶ added in v0.0.6
NewArgumentNilErrorWithError creates a new ArgumentNilError error
Types ¶
type ArgumentError ¶
ArgumentError indicates that the provided input argument is invalid.
func (ArgumentError) Error ¶
func (e ArgumentError) Error() string
Error returns message for the TenantAlreadyExistsError error type Returns the error nessage
func (ArgumentError) Unwrap ¶ added in v0.0.5
func (e ArgumentError) Unwrap() error
type ArgumentNilError ¶
ArgumentNilError indicates that the provided input argument is invalid.
func (ArgumentNilError) Error ¶
func (e ArgumentNilError) Error() string
Error returns message for the TenantAlreadyExistsError error type Returns the error nessage
func (ArgumentNilError) Unwrap ¶ added in v0.0.5
func (e ArgumentNilError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.