set500 method

void set500(
  1. dynamic handler(
    1. HttpRequest request,
    2. Object error
    )
)

Sets a custom 500 Message

Implementation

void set500(Function(HttpRequest request, Object error) handler) {
  _custom500 = handler;
}