Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorHandlerDefault = "default" ErrorHandlerRedirect = "redirect" ErrorHandlerWWWAuthenticate = "www_authenticate" )
Variables ¶
View Source
var (
ErrUnsupportedErrorHandlerType = errors.New("error handler type unsupported")
)
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler interface { Execute(ctx heimdall.Context, err error) (bool, error) WithConfig(config map[string]any) (ErrorHandler, error) }
type ErrorHandlerTypeFactory ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.