Open donquixote opened 3 days ago
In
CoolRequest
we have these error codes 101, 201 etc. Do these numbers have special meanings? Is there any external system that understands these number codes?
They come from our PHP example (I didn't write that):
https://github.com/CollaboraOnline/collabora-online-sdk-examples/blob/master/webapp/php/load.php
I also reuse them in the WordPress plugin.
We could use different values if that's better.
We have the
CoolRequest
class which fetches thediscovery.xml
and extracts the WOPI client url from the xml. I would like to refactor this.Refactoring:
Functional changes:
t()
strings, and rethink error message passing.@hfiguiere some questions. In
CoolRequest
we have these error codes 101, 201 etc. Do these numbers have special meanings? Is there any external system that understands these number codes?