Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorModule ¶
type ErrorModule struct {
Handlers []ErrorHandler
}
func NewErrorModule ¶
func NewErrorModule() *ErrorModule
func (*ErrorModule) GetHandlerByType ¶
func (m *ErrorModule) GetHandlerByType(err error) *ErrorHandler
func (*ErrorModule) RaiseHttpError ¶
func (m *ErrorModule) RaiseHttpError(context *haruka.Context, err error)
func (*ErrorModule) RegisterHandler ¶
func (m *ErrorModule) RegisterHandler(handler ErrorHandler)
Click to show internal directories.
Click to hide internal directories.