All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
22 lines
745 B
TypeScript
22 lines
745 B
TypeScript
export default AssertionError;
|
|
/**
|
|
* Error object thrown when an assertion failed. This is an ECMA-262 Error,
|
|
* extended with a `code` property.
|
|
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error.
|
|
*/
|
|
declare class AssertionError extends Error {
|
|
/**
|
|
* @param {number} code Error code.
|
|
*/
|
|
constructor(code: number);
|
|
/**
|
|
* Error code. The meaning of the code can be found on
|
|
* https://openlayers.org/en/latest/doc/errors/ (replace `latest` with
|
|
* the version found in the OpenLayers script's header comment if a version
|
|
* other than the latest is used).
|
|
* @type {number}
|
|
* @api
|
|
*/
|
|
code: number;
|
|
}
|
|
//# sourceMappingURL=AssertionError.d.ts.map
|