Documentation ¶
Index ¶
- func CloneError(err error) error
- func CloneSerializable(serializable *errors.Serializable) *errors.Serializable
- func ExpectEqual(actualError error, expectedErrors ...error)
- func ExpectErrorDetails(err error, code string, title string, detail string)
- func ExpectErrorJSON(err error, actualJSON []byte)
- func NewMeta() interface{}
- func NewObjectFromSerializable(serializable *errors.Serializable, objectFormat test.ObjectFormat) map[string]interface{}
- func NewSourceParameter() string
- func NewSourcePointer() string
- func RandomError() error
- func RandomSerializable() *errors.Serializable
- func WithParameterSource(err error, parameter string) error
- func WithParameterSourceAndMeta(err error, parameter string, meta interface{}) error
- func WithPointerSource(err error, pointer string) error
- func WithPointerSourceAndMeta(err error, pointer string, meta interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneError ¶ added in v1.29.0
func CloneSerializable ¶ added in v1.29.0
func CloneSerializable(serializable *errors.Serializable) *errors.Serializable
func ExpectEqual ¶ added in v1.24.0
func ExpectErrorDetails ¶ added in v1.27.0
func ExpectErrorJSON ¶ added in v1.27.0
func NewObjectFromSerializable ¶ added in v1.29.0
func NewObjectFromSerializable(serializable *errors.Serializable, objectFormat test.ObjectFormat) map[string]interface{}
func NewSourceParameter ¶
func NewSourceParameter() string
func NewSourcePointer ¶
func NewSourcePointer() string
func RandomError ¶ added in v1.29.0
func RandomError() error
func RandomSerializable ¶ added in v1.29.0
func RandomSerializable() *errors.Serializable
func WithParameterSource ¶ added in v1.24.0
func WithParameterSourceAndMeta ¶ added in v1.24.0
func WithPointerSource ¶ added in v1.24.0
func WithPointerSourceAndMeta ¶ added in v1.24.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.