Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EchoNeedle ¶
type EchoNeedle struct { }
func (EchoNeedle) Explode ¶
func (n EchoNeedle) Explode(err error) error
type Needle ¶
type Needle interface { // Explode is a function testing all known needles in the giving box // it takes in argument the error that bubbled up. Explode(err error) error }
Needle is a component able to transform a given error into a better one. The analysis of the input error is up to the implementation, as the final returned error is. The implementation shall return nil if the input error is unknown.
type PSQLNeedle ¶
type PSQLNeedle struct { }
func (PSQLNeedle) Explode ¶
func (n PSQLNeedle) Explode(err error) error
type Validator10Needle ¶ added in v1.5.0
type Validator10Needle struct { }
func (Validator10Needle) Explode ¶ added in v1.5.0
func (n Validator10Needle) Explode(err error) error
type ValidatorNeedle ¶
type ValidatorNeedle struct { }
func (ValidatorNeedle) Explode ¶
func (n ValidatorNeedle) Explode(err error) error
Click to show internal directories.
Click to hide internal directories.