11 lines
341 B
JavaScript
11 lines
341 B
JavaScript
export const EDITORIAL_WORKFLOW_ERROR = 'EDITORIAL_WORKFLOW_ERROR';
|
|
|
|
export default class EditorialWorkflowError extends Error {
|
|
constructor(message, notUnderEditorialWorkflow) {
|
|
super(message);
|
|
this.message = message;
|
|
this.notUnderEditorialWorkflow = notUnderEditorialWorkflow;
|
|
this.name = EDITORIAL_WORKFLOW_ERROR;
|
|
}
|
|
}
|