def after_error

cswap-bend-cli@0.1.0.0 · rpcmsg.bend:204

import cswap-bend-cli@0.1.0.0/rpcmsg.bend as Rpcmsg
import Base

204# The message of a usage error: the last line, after its `error: `.
205def after_error(+err: String) -> String:
206  cut_error(String.trim(last_part(String.lines(String.trim(err)))), String.trim(last_part(String.lines(String.trim(err)))))

Uses (5)

Used by (2)