ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto
1import { ApiError } from "./ApiError";
2
3export class AuthenticationError extends ApiError {
4 constructor(message: string = "Authentication required", details?: string) {
5 super(message, 401, details);
6 this.name = "AuthenticationError";
7 Object.setPrototypeOf(this, AuthenticationError.prototype);
8 }
9}