Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface ApiError
import { type ApiError } from "https://deno.land/x/natsws@v1.27.0/src/mod.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