provide some details when encountering a protocol error