angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/preview-server/preview-error.ts

9 lines
228 B
TypeScript

// Classes
export class PreviewServerError extends Error {
// Constructor
constructor(public status: number = 500, message?: string) {
super(message);
Object.setPrototypeOf(this, PreviewServerError.prototype);
}
}