-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
Status: help wantedThis issue needs could use help from the communityThis issue needs could use help from the communitySubmodule: BridgesAbout the Bridges submoduleAbout the Bridges submodulegood first issue
Description
x-ref: #1216
Improve this error in the bridges:
MathOptInterface.jl/src/Bridges/bridge.jl
Line 69 in e817d20
return throw(ArgumentError("Bridge of type `$(typeof(bridge))` does not support accessing the attribute `$attr`.")) |
It should say something like:
"If you encountered this error unexpectedly, it probably means your model has been reformulated using the bridge, and you are attempting to query an attribute that we haven't implemented yet for this bridge. Please open an issue at https://github.com/jump-dev/MathOptInterface.jl/issues/new and provide a reproducible example explaining what you were trying to do."
joaquimg and blegat
Metadata
Metadata
Assignees
Labels
Status: help wantedThis issue needs could use help from the communityThis issue needs could use help from the communitySubmodule: BridgesAbout the Bridges submoduleAbout the Bridges submodulegood first issue