ErrorHandlerResponse constructor

const ErrorHandlerResponse({
  1. required Input<String> errorCode,
  2. required Input<String> mimeType,
  3. required Input<String> staticFile,
})

Creates a new ErrorHandlerResponse. 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 ErrorHandlerResponse({
  required this.errorCode,
  required this.mimeType,
  required this.staticFile,
});