You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
822 B
23 lines
822 B
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}
|
|
* @deprecated ol/AssertionError and error codes will be removed in v8.0
|
|
* @api
|
|
*/
|
|
code: number;
|
|
}
|
|
//# sourceMappingURL=AssertionError.d.ts.map
|