Check the OTR errors
Created by: claucece
As we are currently implementing the revision number 2 of the OTRv4 specification, we need to include a consistent way of using OTR errors.
Please, refer to the OTR Error Messages section of the OTRv4 spec.
otrng_error_messageand if it is correctly used, for example.
- Check if everything that errors on the spec is correctly using this function.
- Check that errors are always at the start position of the message.
- Should we include more error types?