Check.show_err: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/check.bend as Check Lines 6-25 of bend-osdev-caps@0.1.0.0/check.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/check.bend&start_line=6&end_line=25 import Base import bend-osdev-caps@0.1.0.0/caps.bend as C def show_err(e: C.CapsError) -> String: match e: case C.CapsInvalidCap{}: "EINVAL invalid capability" case C.CapsPermittedGrows{}: "EPERM permitted set grows" case C.CapsEffectiveNotPermitted{}: "EPERM effective not permitted" case C.CapsInheritableNotBounded{}: "EPERM inheritable not bounded" case C.CapsInheritableNotPermitted{}: "EPERM inheritable not permitted" case C.CapsNoSetpcap{}: "EPERM no CAP_SETPCAP" case C.CapsAmbientRaiseLocked{}: "EPERM ambient raise locked" case C.CapsAmbientNotAllowed{}: "EPERM ambient not allowed" case C.CapsCapabilityDumb{}: "EPERM capability-dumb binary" Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapsError