Error.status_text: def of bendonnect-rpc@0.1.0.0 Import: import bendonnect-rpc@0.1.0.0/src/error.bend as Error Lines 323-333 of bendonnect-rpc@0.1.0.0/src/error.bend: https://jend.leeeet.dev/read.txt?path=bendonnect-rpc@0.1.0.0/src/error.bend&start_line=323&end_line=333 import Base def status_text(+s: U32) -> String: Bool.pick(String, U32.is_eq(s, 400), "Bad Request", Bool.pick(String, U32.is_eq(s, 401), "Unauthorized", Bool.pick(String, U32.is_eq(s, 403), "Forbidden", Bool.pick(String, U32.is_eq(s, 404), "Not Found", Bool.pick(String, U32.is_eq(s, 429), "Too Many Requests", Bool.pick(String, U32.is_eq(s, 500), "Internal Server Error", Bool.pick(String, U32.is_eq(s, 502), "Bad Gateway", Bool.pick(String, U32.is_eq(s, 503), "Service Unavailable", Bool.pick(String, U32.is_eq(s, 504), "Gateway Timeout", String.append("HTTP ", U32.show(s))))))))))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.show