Skip to content

Class: ConsentEnvError

Defined in: rine-core/dist/src/consent-env.d.ts:15

A consent switch carried a value that is not one of the accepted ones.

Extends

  • Error

Constructors

Constructor

new ConsentEnvError(
   variable, 
   value, 
   accepted): ConsentEnvError;

Defined in: rine-core/dist/src/consent-env.d.ts:19

Parameters

Parameter Type
variable string
value string
accepted readonly string[]

Returns

ConsentEnvError

Overrides

Error.constructor

Properties

Property Modifier Type Defined in
accepted readonly readonly string[] rine-core/dist/src/consent-env.d.ts:18
value readonly string rine-core/dist/src/consent-env.d.ts:17
variable readonly string rine-core/dist/src/consent-env.d.ts:16