mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
15 lines
315 B
TypeScript
15 lines
315 B
TypeScript
import { BaseHTTPError } from './base';
|
|
|
|
export default class PayloadTooLarge extends BaseHTTPError {
|
|
statusCode = 413;
|
|
|
|
title = 'Payload Too Large';
|
|
|
|
retryAfter: number | null;
|
|
|
|
constructor(detail: string = '', retryAfter: number | null = null) {
|
|
super(detail);
|
|
this.retryAfter = retryAfter;
|
|
}
|
|
}
|