Add custom errors for PDU decoding
Return the exception without raising it when getting messages