@kayahr/assert
    Preparing search index...

    Interface AssertionErrorOptions

    Options for AssertionError.

    interface AssertionErrorOptions {
        reason?: string;
    }

    Hierarchy

    • ErrorOptions
      • AssertionErrorOptions
    Index

    Properties

    Properties

    reason?: string

    Optional assertion reason. When specified then the actual exception message is prefixed with this string separated by a dot and whitespace.