/** * Default json error handler. When controller action produces an error, it transforms this error into desired result * that will be returned to a user. Applies to json responses. * * @param error Error to be handled * @param isDebug Indicates if debug mode is enabled or not. In debug mode some extra information will be exposed * @param errorOverridingMap Special data map that is used to override any property of the handled result. * @returns Transformed error. */ export declare function jsonErrorHandler(error: any, isDebug: boolean, errorOverridingMap: any): any; /** * Default error handler. When controller action produces an error, it transforms this error into desired result * that will be returned to a user. Applies to regular responses. * * @param error Error to be handled * @returns Transformed error. */ export declare function defaultErrorHandler(error: any): any;