Home Reference Source Test Repository
import InvalidProvidedPropError from 'ics-js/src/errors/InvalidProvidedPropError.js'
public class | source

InvalidProvidedPropError

Extends:

es6-error~ExtendableError → InvalidProvidedPropError

Error thrown when adding a property to a component that is not in the list of valid properties.

Constructor Summary

Public Constructor
public

constructor(message: string)

Create a new InvalidProvidedPropError.

Public Constructors

public constructor(message: string) source

Create a new InvalidProvidedPropError.

Params:

NameTypeAttributeDescription
message string
  • optional
  • default: Provided property's type is not listed in validProps.