Hardening/orion error

### Description
The change made for StatusCode now also for OrionError.

[ OrionError could be an instance of StatusCode, but StatusCode is ngsi and OrionError has nothing to do with ngsi so I decided to leave OrionError as a class apart. This decision can be discussed, of course ]