def err.wrap

shake@0.7.0.0 · src/cli.bend:2144

import shake@0.7.0.0/src/cli.bend as Cli
import Base

2144# a short error, the usage line of the command where it happened, and the hint
2145def err.wrap(+app: Cli, +at: List<&2, String>, +msg: String) -> String:
2146  msg ++ "\n\n" ++ usage.at(app, at) ++ "\n\n" ++ err.hint(at)

Uses (6)

Used by (1)