Skip to content

Module: src/consent/ConsentError

Error used when a third-party resource is not loaded because consent was denied. Distinct from AbortError so pending load tasks can be rejected instead of left hanging.

Version
1.0.0
Author
Frank Kudermann - alphanull
License
MIT
Extends
Error
Source
ConsentError.js, line 10

Constructor

new ConsentError(messageopt)

Creates a ConsentError.

Parameters:
Name Type Attributes Description
message string optional

Human-readable error message.