JSON-RPC 2.0 defined two types of requests: actual method call and notification. Notification is used when the client is not interested in the return value. As far as the current version of AEX-2 doesn't explain return value for aepp.get.address method I was thinking that it is notification and any errors should be returned in a call of another method (because the server can't reply for notification with error). From #44 I understood that it is not true. To fix this confusion I think we should either define return value for all methods nor mark such methods as not notifications.
JSON-RPC 2.0 defined two types of requests: actual method call and notification. Notification is used when the client is not interested in the return value. As far as the current version of AEX-2 doesn't explain return value for
aepp.get.address
method I was thinking that it is notification and any errors should be returned in a call of another method (because the server can't reply for notification with error). From #44 I understood that it is not true. To fix this confusion I think we should either define return value for all methods nor mark such methods as not notifications.