UNPKG

@athenna/http

Version:

The Athenna Http server. Built on top of fastify.

21 lines (20 loc) 552 B
/** * @athenna/http * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { HttpException } from '#src/exceptions/HttpException'; export declare class NotFoundException extends HttpException { /** * This exception uses the 404 status code and the "E_NOT_FOUND_ERROR" code. * * @example * ```js * throw new NotFoundException() * ``` */ constructor(message?: string, help?: any); }