Cosmo (JavaScript) — API reference
    Preparing search index...

    Class InvalidArgumentError

    A caller passed an invalid argument — a typo'd option key, an unknown currency code, an unsupported width/unit, a bad enum value, … This signals a bug to fix in the calling code, not a condition to catch and recover from.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string