Closed a-tze closed 7 years ago
Issue migrated from trac ticket # 143
component: rpc | priority: major | resolution: fixed
If the error code of a exception thrown is >= 0, use this code as XML-RPC faultCode. Otherwise use fixed value of -32600 as before.
XML-RPC error codes can be defined by the application, only a small range is reserved. See http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php
Proposed patch see changeset [6dc2bea53ef0744bb015bef40d00a4416a930c0b]
Looks good to me.
Issue migrated from trac ticket # 143
component: rpc | priority: major | resolution: fixed
2017-07-12 01:36:23: @pegro created the issue
If the error code of a exception thrown is >= 0, use this code as XML-RPC faultCode. Otherwise use fixed value of -32600 as before.
XML-RPC error codes can be defined by the application, only a small range is reserved. See http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php
Proposed patch see changeset [6dc2bea53ef0744bb015bef40d00a4416a930c0b]