def under

bend-schema-lib@0.4.1.0 · core.bend:696

import bend-schema-lib@0.4.1.0/core.bend as Core
import Base

696# An error found under a step gets the step in front of its path.
697def under(+st: Step, m: Maybe<&2, Err>) -> Maybe<&2, Err>:
698  match m:
699    case None{}:
700      None{}
701    case Some{Err{p, w}}:
702      Some{Err{st <> p, w}}

Uses (4)

Used by (1)