mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
import { BaseException } from './base';
|
|
|
|
type Extensions = {
|
|
service: string;
|
|
[key: string]: any;
|
|
};
|
|
|
|
export class ServiceUnavailableException extends BaseException {
|
|
constructor(message: string, extensions: Extensions) {
|
|
super(message, 503, 'SERVICE_UNAVAILABLE', extensions);
|
|
}
|
|
}
|