class AuthError extends Error Constructors new AuthError(message: string,status?: number,code?: string,) Properties protected __isAuthError: boolean code: ErrorCode | string | undefined Error code associated with the error. Most errors coming from HTTP responses will have a code, though some errors that occur before a response is received will not have one present. In that case #status will also be undefined. status: number | undefined HTTP status code that caused the error.