AngelHttpException.unavailable constructor

AngelHttpException.unavailable(
  1. {String message: '503 Unavailable'}
)

Throws a 503 Unavailable error.

Implementation

factory AngelHttpException.unavailable(
        {String message = '503 Unavailable'}) =>
    new AngelHttpException(null, message: message, statusCode: 503);