feat: begin work on beer type page and associated api routes

This commit is contained in:
Aaron William Po
2023-09-17 20:27:33 -04:00
parent 7c42146751
commit 6b8682e686
12 changed files with 377 additions and 28 deletions

View File

@@ -1,5 +1,8 @@
class ServerError extends Error {
constructor(message: string, public statusCode: number) {
constructor(
message: string,
public statusCode: number,
) {
super(message);
this.name = 'ServerError';
}