When a client library extends RE we have access to that module. Currently we define our exceptions on the RE namespace, but we should proxy this declaration to the client module instead and use that namespace when raising.
Example:
Currently we raise RestEasy::Connection error
Instead we could raise Fortnox::ConnectionError
When a client library extends RE we have access to that module. Currently we define our exceptions on the RE namespace, but we should proxy this declaration to the client module instead and use that namespace when raising.
Example:
Currently we raise RestEasy::Connection error
Instead we could raise Fortnox::ConnectionError