Files
the-biergarten-app/config/util/ServerError.ts
Aaron William Po 0b96c8f1f5 Did more work to beer post page, seed
Worked on comments and beer recs features. Fine tuning database seed amounts.
2023-01-29 21:53:05 -05:00

9 lines
180 B
TypeScript

class ServerError extends Error {
constructor(message: string, public statusCode: number) {
super(message);
this.name = 'ServerError';
}
}
export default ServerError;