Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface ApiError
import { type ApiError } from "https://deno.land/x/natsws@v1.29.2/src/nats-base-client.ts";

Properties

code: number

HTTP like error code in the 300 to 500 range

description: string

A human friendly description of the error

optional
err_code: number

The NATS error code unique to each kind of error