1 | /** @module build */
|
2 | import { InternalException } from 'pip-services3-commons-node';
|
3 | /**
|
4 | * Error raised when factory is not able to create requested component.
|
5 | *
|
6 | * @see [[https://pip-services3-node.github.io/pip-services3-commons-node/classes/errors.internalexception.html InternalException]] (in the PipServices "Commons" package)
|
7 | * @see [[https://pip-services3-node.github.io/pip-services3-commons-node/classes/errors.applicationexception.html ApplicationException]] (in the PipServices "Commons" package)
|
8 | */
|
9 | export declare class CreateException extends InternalException {
|
10 | /**
|
11 | * Creates an error instance and assigns its values.
|
12 | *
|
13 | * @param correlation_id (optional) a unique transaction id to trace execution through call chain.
|
14 | * @param messageOrLocator human-readable error or locator of the component that cannot be created.
|
15 | */
|
16 | constructor(correlationId: string, messageOrLocator: any);
|
17 | }
|