pub const fn status_for_code(code: ErrorCode) -> ErrorStatusExpand description
Total, pure projection from ErrorCode to ErrorStatus.
Every variant is mapped here; adding a new code variant without extending this function is a compile error.
pub const fn status_for_code(code: ErrorCode) -> ErrorStatusTotal, pure projection from ErrorCode to ErrorStatus.
Every variant is mapped here; adding a new code variant without extending this function is a compile error.