highs-js API reference
    Preparing search index...

    Interface HighsErrorConstructors

    Constructors corresponding to errors thrown by persistent wrapper methods.

    interface HighsErrorConstructors {
        HighsDisposedError: new () => HighsDisposedError;
        HighsError: new (message: string, operation: string) => HighsError;
        HighsReentrancyError: new () => HighsReentrancyError;
        HighsUnsupportedOptionError: new (
            option: string,
        ) => HighsUnsupportedOptionError;
        HighsValidationError: new (message: string) => HighsValidationError;
    }
    Index
    HighsDisposedError: new () => HighsDisposedError

    Disposed-model error constructor.

    Type Declaration

    HighsError: new (message: string, operation: string) => HighsError

    General native-status failure constructor.

    Type Declaration

      • new (message: string, operation: string): HighsError
      • Creates an error identifying the failed wrapper operation.

        Parameters

        • message: string
        • operation: string

        Returns HighsError

    HighsReentrancyError: new () => HighsReentrancyError

    Callback-reentrancy error constructor.

    Type Declaration

    HighsUnsupportedOptionError: new (option: string) => HighsUnsupportedOptionError

    Unsupported-option error constructor.

    Type Declaration

    HighsValidationError: new (message: string) => HighsValidationError

    Input-validation error constructor.

    Type Declaration