MethodNotAllowedHttpException constructor
Implementation
MethodNotAllowedHttpException(this.allow, {super.message, super.errorCode})
: super(
HttpStatus.methodNotAllowed,
headers: <String, String>{'allow': allow.join(', ')},
);
MethodNotAllowedHttpException(this.allow, {super.message, super.errorCode})
: super(
HttpStatus.methodNotAllowed,
headers: <String, String>{'allow': allow.join(', ')},
);