Added better http error code in rest api

This commit is contained in:
didier amyot committed 2023-06-13 11:51:42 -04:00
1 parent 95e58a67df
commit b70628264e
3 files changed
+366 -6

No files matched your search

+5
View File
@@ -1,3 +1,5 @@
// deno std
export { Buffer, StringReader } from 'https://deno.land/std@0.191.0/io/mod.ts';
export {
iterateReader,
@@ -7,4 +9,7 @@ export {
readerFromStreamReader,
TextLineStream,
} from 'https://deno.land/std@0.191.0/streams/mod.ts';
export {Status} from "https://deno.land/std@0.191.0/http/http_status.ts";
// oak
export { Application, Context, Router } from 'https://deno.land/x/oak/mod.ts';