@bodil/core - v0.4.0
    Preparing search index...

    Class AssertionError

    The specific Error type thrown by assertions.

    Hierarchy

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns AssertionError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns AssertionError

    Properties

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

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error