error method

dynamic error ()

Implementation

error() {
  this.statusCode = 500;
  this.close();
}