mirror of
https://github.com/kennethnym/aris.git
synced 2026-06-16 12:31:17 +01:00
chore: rename aelis to freya (#122)
This commit is contained in:
8
apps/freya-backend/src/lib/error.ts
Normal file
8
apps/freya-backend/src/lib/error.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export class UserNotFoundError extends Error {
|
||||
constructor(
|
||||
public readonly userId: string,
|
||||
message?: string,
|
||||
) {
|
||||
super(message ? `${message}: user not found: ${userId}` : `User not found: ${userId}`)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user