function Base.showerror(io::IO,e::VariableNotAvailable)
ifisnothing(e.alt_variable)
print(io,e.variable," is not available for block of type ",e.bb,".")
else
print(io,e.variable," is not available for block of type ",e.bb,". Please use ",e.alt_variable," instead to set any contsraints or objective functions.")
function Base.showerror(io::IO,e::VariableNotAvailable)
ifisnothing(e.alt_variable)
print(io,e.variable," is not available for block of type ",e.bb,".")
else
print(io,e.variable," is not available for block of type ",e.bb,". Please use ",e.alt_variable," instead to set any contsraints or objective functions.")