google/jsonnet

Handling runtime errors

Closed this issue · 0 comments

Is it possible to catch and handle runtime errors? I'm tyring to write a function:

    env_var_or(variable, default)::
        if std.extVar(variable) then std.env(variable) else default,