9 lines
243 B
TypeScript
9 lines
243 B
TypeScript
export const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE'
|
|
|
|
export class DynamicServerError extends Error {
|
|
digest: typeof DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE
|
|
|
|
constructor(type: string) {
|
|
super(`Dynamic server usage: ${type}`)
|
|
}
|
|
}
|