UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

29 lines (24 loc) 1.02 kB
/* eslint-disable simple-import-sort/imports */ import { AssertionError, ConfigurationError, ImplementationPendingError, LogicError, OperationInterruptedError, TestCompromisedError, TimeoutExpiredError, UnknownError } from './model'; import { ErrorSerialiser } from './ErrorSerialiser'; /* eslint-enable simple-import-sort/imports */ // todo: export ErrorSerialiser as an instance to avoid static method calls ErrorSerialiser.registerErrorTypes( AssertionError, ConfigurationError, ImplementationPendingError, LogicError, OperationInterruptedError, TestCompromisedError, TimeoutExpiredError, UnknownError, ); export * from './diff'; export * from './model'; /* eslint-disable simple-import-sort/exports */ export { ErrorSerialiser } from './ErrorSerialiser'; export { ErrorStackParser } from './ErrorStackParser'; /* eslint-enable simple-import-sort/exports */ export { ErrorFactory } from './ErrorFactory'; export { ErrorOptions } from './ErrorOptions'; export * from './RaiseErrors'