mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
new Application.SetContextErrorHandler method
This commit is contained in:
@@ -52,6 +52,10 @@ type Application interface {
|
||||
// is hijacked by a third-party middleware and the http handler return too fast.
|
||||
GetContextPool() *Pool
|
||||
|
||||
// GetContextErrorHandler returns the handler which handles errors
|
||||
// on JSON write failures.
|
||||
GetContextErrorHandler() ErrorHandler
|
||||
|
||||
// ServeHTTPC is the internal router, it's visible because it can be used for advanced use cases,
|
||||
// i.e: routing within a foreign context.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user