mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-10 04:20:58 +00:00
15 lines
401 B
TypeScript
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;
|
|
}
|
|
}
|