pub fn parse_error_codes(
    error_code: &u8,
    error_subcode: &u8
) -> Result<BgpError, BgpErrorCodeParsingError>
Expand description

Utility function to parse a pair of BGP error code and subcode (both u8) into a defined struct.