macro_rules! response_codes {
($for:ty : [$($val:expr => $item:path),+]) => { ... };
}
Expand description
Generate a ErrorCodes
impl block for a given Enum by mapping known status codes
to specific variants. Variants must not be struct variants