PException class abstract
the base class for all Exceptions thrown by Postor; such as CancelledRequestException and all HTTP Status Code Exceptions.
Here are the status codes that Postor possibly throws:
- 400 Bad Request => BadRequestException or
SC400
- 401 Unauthorized => UnauthorizedException or
SC401
- 403 Forbidden => ForbiddenException or
SC403
- 404 Not Found => NotFound404Exception or
SC404
- 405 Method Not Allowed => MethodNotAllowedException or
SC405
- 406 Not Acceptable => NotAcceptableException or
SC406
- 408 RequestTimeoutException => RequestTimeoutException or
SC408
- 409 Conflict => RequestConflictException or
SC409
- 413 Payload Too Large => PayloadTooLargeException or
SC413
- 415 Unsupported Media Type => UnsupportedMediaTypeException or
SC415
- 429 Too Many Requests => TooManyRequestsException or
SC429
- 431 Request Header Fields Too Large => RequestHeadersTooLargeException or
SC431
- all 5xx Server Errors => ProblemWithServerException or
SC5XX
For more info about HTTP Status Codes, head on to https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
- Implemented types
- Implementers
- BadRequestException
- CancelledRequestException
- ForbiddenException
- MethodNotAllowedException
- NotAcceptableException
- NotFound404Exception
- PayloadTooLargeException
- ProblemWithServerException
- RequestConflictException
- RequestHeadersTooLargeException
- RequestTimeoutException
- TooManyRequestsException
- UnauthorizedException
- UnknownHttpException
- UnsupportedMediaTypeException
Constructors
- PException([String? message])
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override