Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrUnknown = errors.New("internal server error")
Functions ¶
This section is empty.
Types ¶
type FatalError ¶ added in v1.21.0
type FatalError struct {
Cause error
}
FatalError wraps an error that must be propagated immediately by any consumer, regardless of whether other results have already been produced. It is not tied to any specific layer: any producer (filter, evaluator, resolver) may wrap an error as fatal, and any consumer can detect it with errors.As.
func (*FatalError) Error ¶ added in v1.21.0
func (e *FatalError) Error() string
func (*FatalError) Unwrap ¶ added in v1.21.0
func (e *FatalError) Unwrap() error