web-serial-rxjs API Documentation
    Preparing search index...

    Interface SerialErrorContextMap

    Maps each SerialErrorCode to its structured context shape.

    Codes mapped to undefined have no machine-readable metadata beyond SerialError.message. Overflow and validation codes expose structured metadata so callers do not need to parse error messages.

    Index
    BROWSER_NOT_SUPPORTED: undefined
    CONNECTION_LOST: SerialErrorCauseContext
    INVALID_CONNECTION_OPTIONS: ValidationErrorContext
    INVALID_FILTER_OPTIONS: ValidationErrorContext
    INVALID_LINE_BUFFER_OPTIONS: ValidationErrorContext
    INVALID_RECEIVE_REPLAY_OPTIONS: ValidationErrorContext
    INVALID_TERMINAL_BUFFER_OPTIONS: ValidationErrorContext
    LINE_BUFFER_OVERFLOW: { maxChars: number }
    OPERATION_CANCELLED: SerialErrorCauseContext
    OPERATION_TIMEOUT: undefined
    PORT_ALREADY_OPEN: undefined
    PORT_NOT_AVAILABLE: SerialErrorCauseContext
    PORT_NOT_OPEN: undefined
    PORT_OPEN_FAILED: SerialErrorCauseContext
    RECEIVE_REPLAY_BUFFER_OVERFLOW: { bufferSize: number; maxChars: number }
    SESSION_DISPOSED: undefined