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

InvalidComponentError

Extends:

es6-error~ExtendableError → InvalidComponentError

Error thrown when a component does not contain all required properties.

Constructor Summary

Public Constructor
public

constructor(message: string)

Create a new InvalidComponentError.

Public Constructors

public constructor(message: string) source

Create a new InvalidComponentError.

Params:

NameTypeAttributeDescription
message string
  • optional
  • default: Component does not contain all required properties.