MCPcopy Create free account
hub / github.com/devfeel/dotweb / SetExceptionHandle

Method SetExceptionHandle

dotweb.go:283–285  ·  view source on GitHub ↗

SetExceptionHandle set custom error handler

(handler ExceptionHandle)

Source from the content-addressed store, hash-verified

281
282// SetExceptionHandle set custom error handler
283func (app *DotWeb) SetExceptionHandle(handler ExceptionHandle) {
284 app.ExceptionHandler = handler
285}
286
287// SetNotFoundHandle set custom 404 handler
288func (app *DotWeb) SetNotFoundHandle(handler StandardHandle) {

Callers 2

initServerEnvironmentMethod · 0.95
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected