Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ApiError

import type { ApiError } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";
interface ApiError {
code: number;
description: string;
err_code?: number;
}

§Properties

§
code: number
[src]

HTTP like error code in the 300 to 500 range

§
description: string
[src]

A human friendly description of the error

§
err_code?: number
[src]

The NATS error code unique to each kind of error