AngelHttpException.methodTimeout constructor

AngelHttpException.methodTimeout(
  1. {String message: '408 Timeout'}
)

Throws a 408 Timeout error.

Implementation

factory AngelHttpException.methodTimeout({String message = '408 Timeout'}) =>
    new AngelHttpException(null, message: message, statusCode: 408);