UNPKG

@iabtechlabtcf/core

Version:

Ensures consistent encoding and decoding of TC Signals for the iab. Transparency and Consent Framework (TCF).

19 lines (18 loc) 361 B
/** * class for decoding errors * * @extends {Error} */ class DecodingError extends Error { /** * constructor - constructs an DecodingError * * @param {string} msg - Decoding Error Message * @return {undefined} */ constructor(msg) { super(msg); this.name = 'DecodingError'; } } export { DecodingError };