All files / src/exceptions index.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 2/2
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24                                          12x 16x  
/**
 * @module
 *
 * The faults this package raises.
 *
 * @remarks
 * Both are deployment faults rather than request faults — something the code
 * depends on is absent or was never registered — so both are worth catching by
 * type rather than by message.
 *
 * {@link MissingCapabilityError} is the vendor-neutral base an adapter package
 * subclasses to say what "provisioned" means on its own platform. That
 * cross-package `instanceof` only holds while one copy of this package is
 * loaded, which is why an adapter must treat it as an external dependency.
 *
 * A leaf layer: nothing here imports from `core/`.
 *
 * @author Bayu Dwiyan Satria
 * @version 1.0.0
 * @since 1.0.0
 */
export { ConfigurationError } from '@/exceptions/ConfigurationError'
export { MissingCapabilityError } from '@/exceptions/MissingCapabilityError'