Skip to main content
This package works with Deno, Bun, Browsers
This package works with Deno
This package works with Bun
This package works with Browsers
Published
2 days ago (3.0.0-46)
class AuthorizationError
extends Error

Represents an error related to authorization issues. Note that these could represent an authorization violation, or that the account authentication configuration has expired, or an authentication timeout.

Constructors

new
AuthorizationError(
message: string,
options?: ErrorOptions,
)

Static Methods

Add Package

deno add jsr:@nats-io/nats-core

Import symbol

import { AuthorizationError } from "@nats-io/nats-core/internal";

---- OR ----

Import directly with a jsr specifier

import { AuthorizationError } from "jsr:@nats-io/nats-core/internal";

Add Package

bunx jsr add @nats-io/nats-core

Import symbol

import { AuthorizationError } from "@nats-io/nats-core/internal";