Skip to main content
Module

x/drash/src/exceptions/invalid_path_exception.ts

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
File
/** * This class is for throwing errors related to resource paths. */export class InvalidPathException extends Error { ////////////////////////////////////////////////////////////////////////////// // FILE MARKER - CONSTRUCTOR ///////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
/** * Construct an object of this class. * * @param message - (optional) The exception message. */ constructor(message: string = "Path must be a string.") { super(message); }}