CmpStr - v3.4.0
    Preparing search index...

    Class CmpStrValidationError

    Error thrown when user input (options, arguments) is invalid.

    Hierarchy (View Summary)

    Index
    code: string

    A short, machine-readable error code

    Optional structured metadata for the error

    when: string = ...

    Timestamp when the error was created (ISO 8601)

    • Format the error into a readable string, including code, message, and optional metadata.

      Parameters

      • Optionalstack: boolean = false

        Whether to include the stack trace in the output

      Returns string