@nevware21/tripwire - v0.1.2
    Preparing search index...

    Interface IAssertConfig

    Provides the options for the current context

    interface IAssertConfig {
        defAssertMsg?: MsgSource;
        defFatalMsg?: MsgSource;
        fullStack?: boolean;
        isVerbose?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    defAssertMsg?: MsgSource

    Defiines the default assertion failure message to display if no message is provided.

    "assertion failed"
    
    defFatalMsg?: MsgSource

    Defines the default fatal message to display if no message is provided.

    "fatal assertion failure"
    

    This is used for fatal errors that are not assertion failures.

    fullStack?: boolean

    Identifies if the current context is in full-stack mode, which will include the full stack trace in the error message if an assertion fails.

    false
    
    isVerbose?: boolean

    Identifies if the current context is verbose mode, which will include additional information in the execution context and any resulting assertion failures.

    false