Class in Errors · JavaScript & TypeScript
The SDK could not read the current bot application
Local input checks, the connection, the deadline or an unusable Fluxer response stopped the read. Metadata includes no credentials, private application fields or upstream response bodies. This read cannot modify the application, even when its request outcome is unknown
class BotApplicationOperationError extends FluxerlyErrorclass BotApplicationOperationError
extends FluxerlyErrorConstructor#
Create the failure from its operation, reason and outcome, with optional status, retry wait, API detail, input detail and cause
new BotApplicationOperationError(
options: OperationErrorOptions<"application.fetch">
): BotApplicationOperationErrornew BotApplicationOperationError(
options: OperationErrorOptions<
"application.fetch"
>
): BotApplicationOperationErrorParameters
options-
OperationErrorOptions<"application.fetch">OperationErrorOptions< "application.fetch" >
Properties#
_tag#
Stable expected-failure discriminator
readonly _tag: "BotApplicationOperationError"apiError #
Reviewed Fluxer rejection detail, or null when no safe classification is available
readonly apiError: ApiErrorDetail | nullreadonly apiError:
| ApiErrorDetail | nullinputValidation #
Safe explanation of the locally invalid property, or null when no input problem could be identified
readonly inputValidation: InputValidationDetail | nullreadonly inputValidation:
| InputValidationDetail | nulloperation#
Requested operation
readonly operation: "application.fetch"outcome#
Whether the request may have reached Fluxer, described by Operation
The failed operation only reads, so even an unknown outcome cannot have changed the application
readonly outcome: OperationOutcomereason#
Input validation, full local capacity, HTTP 404 or another rejection, network failure, invalid response, deadline expiry or rate limit
readonly reason: OperationReasonretryAfterMs #
Fluxer's retry delay in milliseconds when usable, otherwise null
readonly retryAfterMs: number | nullreadonly retryAfterMs:
| number | nullstatus#
HTTP status when received, otherwise null
readonly status: number | nullInherited#
Inherited from Fluxerly: code, details, hint, to