qasm-ts - v2.0.0
    Preparing search index...

    Module Error Handling

    Error classes for QASM parsing and validation

    This module provides specific error types for different parsing failures, enabling precise error handling and debugging. Each error includes contextual information about where the error occurred in the source code.

    Classes

    BadArgumentError
    BadBarrierError
    BadClassicalTypeError
    BadConditionalError
    BadCregError
    BadEqualsError
    BadExpressionError
    BadGateError
    BadIncludeError
    BadLoopError
    BadMeasurementError
    BadParameterError
    BadQregError
    BadQuantumInstructionError
    BadStringLiteralError
    BadSubroutineError
    MissingBraceError
    MissingSemicolonError
    UnsupportedOpenQASMVersionError

    Type Aliases

    ReturnErrorConstructor