ErrorHandler constructor
const
ErrorHandler({
- Input<
ErrorHandlerErrorCode> ? errorCode, - Input<
String> ? mimeType, - Input<
String> ? staticFile,
Creates a new ErrorHandler.
errorCode Error condition this handler applies to.
mimeType MIME type of file. Defaults to text/html.
staticFile Static file content to be served for this error.
Implementation
const ErrorHandler({
this.errorCode,
this.mimeType,
this.staticFile,
});