7e8084be87
* feat(backends): add proxy backend * feat: add proxy server initial commit * fix: move from joi to @hapi/joi * test: add joi validation tests * feat: proxy server initial implementations * test: add tests, fix build * chore: update yarn.lock * build: fix develop command * fix(back-proxy): fix bugs * test(backend-proxy): add cypress tests * chore: cleanup * chore: support node 10 * chore: code cleanup * chore: run cypress on ubuntu 16.04 * test(e2e): fix proxy backend cypress tests * chore: don't start proxy server on yarn develop
13 lines
415 B
TypeScript
13 lines
415 B
TypeScript
export const EDITORIAL_WORKFLOW_ERROR = 'EDITORIAL_WORKFLOW_ERROR';
|
|
|
|
export default class EditorialWorkflowError extends Error {
|
|
message: string;
|
|
notUnderEditorialWorkflow: boolean;
|
|
constructor(message: string, notUnderEditorialWorkflow: boolean) {
|
|
super(message);
|
|
this.message = message;
|
|
this.notUnderEditorialWorkflow = notUnderEditorialWorkflow;
|
|
this.name = EDITORIAL_WORKFLOW_ERROR;
|
|
}
|
|
}
|