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

    Class CosmoError

    Base error for everything Cosmo throws. Catch this to handle any library error; catch a subclass to distinguish the cause.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • message: string
      • Optionaloptions: ErrorOptions

      Returns CosmoError

    Properties

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