CloudflareApiException class

Exception thrown when the Cloudflare API returns an error.

Cloudflare APIがエラーを返した場合の例外。

Implemented types

Constructors

CloudflareApiException({required int statusCode, required String body, required String operation})
Exception thrown when the Cloudflare API returns an error.
const

Properties

body → String
Response body.
final
hashCode → int
The hash code for this object.
no setterinherited
isPermissionError → bool
Whether the token lacks permission (HTTP 401 / 403).
no setter
operation → String
Operation that failed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
HTTP status code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited