TadoError extends the base Error class to represent errors specific to the Tado ecosystem. This custom error class can be used to differentiate between general errors and those that are Tado-specific, enabling more precise error handling and debugging.

Hierarchy (View Summary)

Constructors

  • Parameters

    • Optionalmessage: string

    Returns TadoError

Properties

message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void