Files
plexjs/src/http/errors/ProxyAuthenticationRequired.ts
2023-10-26 21:12:05 -05:00

15 lines
401 B
TypeScript

import { AuthenticateChallenge, BaseHTTPError } from './base';
export default class ProxyAuthenticationRequired extends BaseHTTPError {
statusCode = 407;
title = 'Proxy Authentication Required';
proxyAuthenticate?: AuthenticateChallenge;
constructor(detail: string = '', proxyAuthenticate?: AuthenticateChallenge) {
super(detail);
this.proxyAuthenticate = proxyAuthenticate;
}
}