Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
class AuthleteApiException
extends Error
Re-export
import { AuthleteApiException } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Authlete API Exception.

Constructors

new
AuthleteApiException(
message?: string,
statusCode?: number,
statusMessage?: string,
responseBody?: string,
headers?: Headers,
)

Create an AuthleteApiException instance.

Properties

optional
headers: Headers

The headers of the error response associated with this exception.

optional
responseBody: string

The body of the error response associated with this exception.

optional
statusCode: number

HTTP status code of the error response associated with this exception.

optional
statusMessage: string

HTTP status message of the error response associated with this exception.