MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / AuthError

Class AuthError

src/services/auth/errors.ts:2–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// User Error is a base class for all user related errors. We can cacth them in bulk and handle them accordingly.
2export class AuthError extends Error {
3 constructor(message: string) {
4 super(message);
5 this.name = "UserError";
6 }
7}
8
9export class UserNotLoggedInError extends AuthError {
10 constructor(message: string = "User is not logged in") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected