Spaces:
Sleeping

asd / src /libs /shared /domain /errors /UnauthorizedError.ts
GitHub Actions
deploy: clean snapshot
7f81110
Raw History Blame Contribute Delete
190 Bytes
import { BaseError } from "./BaseError";
export class UnauthorizedError extends BaseError {
constructor(message = "Unauthorized") {
super(401, message, "UNAUTHORIZED");
}
}