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

x/lume/core.ts>Exception

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class Exception
extends Error
Re-export
import { Exception } from "https://deno.land/x/lume@v1.16.0/core.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