Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core/errors.ts>Exception

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class Exception
extends Error
import { Exception } from "https://deno.land/x/lume@v1.18.5/core/errors.ts";

Generic Exception to throw errors. It allows to include extra data.

Constructors

new
Exception(message: string, data?: ErrorData)

Properties

optional
data: Record<string, unknown>
optional
mark: Mark