Skip to main content
This release is 0 versions behind 24.6.2 — the latest version of @rivet-gg/actor. Jump to latest

🔩 Rivet Actors have built-in RPC, state, and events — the easiest way to build modern applications.

This package works with Deno
This package works with Deno
JSR Score
88%
Published
4 weeks ago (24.6.2-rc.2)
interface UserErrorOptions
extends ErrorOptions

Options for the UserError class.

Properties

optional
code: string

Machine readable code for this error. Useful for catching different types of errors in try-catch.

metadata: unknown

Additional metadata related to the error. Useful for understanding context about the error.

Add Package

deno add jsr:@rivet-gg/actor

Import symbol

import { type UserErrorOptions } from "@rivet-gg/actor";

---- OR ----

Import directly with a jsr specifier

import { type UserErrorOptions } from "jsr:@rivet-gg/actor";