Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/database/plugin.ts

Deno-powered framework for building business web apps
Go to Latest
import * as netzo from "https://deno.land/x/netzo@0.4.10/database/plugin.ts";

Variables

A fresh plugin that registers middleware and handlers to to mount RESTful API routes on the /db route path.

Functions

Returns the converted HTTP error response from the given error. If the error is an instance of Deno.errors.NotFound, a HTTP 404 Not Found error response is returned. This is done to translate errors thrown from logic that's separated by concerns.