Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface ApiError
import { type ApiError } from "https://deno.land/x/natsws@v1.28.0/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