UNPKG

@ima/core

Version:

IMA.js framework for isomorphic javascript application

13 lines (12 loc) 396 B
import { GenericError } from './GenericError'; /** * Extension of GenericError which is used in route handling ot cancel * currently managed route before proceeding with execution with new one. */ export class CancelError extends GenericError { constructor(message = 'Canceled'){ super(message, { status: 409 }); } } //# sourceMappingURL=CancelError.js.map