You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
errorCode is expected to be a string, but objects may be return #27
errorCode should never be an object. Or the name should be changed.
The jsonrpc spec provides an error object http://www.jsonrpc.org/specification#error_object
Currently the errorCode returned by MAGE is a string, and it's not compatible with the spec, but we can follow the same structure to return the errors:
Activity
MiLk commentedon Jul 28, 2014
errorCodeshould never be an object. Or the name should be changed.The jsonrpc spec provides an error object http://www.jsonrpc.org/specification#error_object
Currently the errorCode returned by MAGE is a string, and it's not compatible with the spec, but we can follow the same structure to return the errors: