Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Errors handling in web services: Difference between revisions

From MoodleDocs
(Created page with "Jerome Mouneyrac - 08/05/2012 a) I wonder if 'message' should be translated b) I wonder if 'debuginfo' could have a defined structure like: code_error_string | english_human_mess...")
 
No edit summary
Line 1: Line 1:
Jerome Mouneyrac - 08/05/2012
Jerome Mouneyrac - 08/05/2012
a) I wonder if 'message' should be translated
 
b) I wonder if 'debuginfo' could have a defined structure like: code_error_string | english_human_message | some_ids_or_json_code_in_order_to_help_client_dev  
For exception format:
c) remember that sometimes exception are throw to lower level so except if we try-catch the entire external function we can't change them.
* I wonder if 'message' should be translated
* I wonder if 'debuginfo' could have a defined structure like: code_error_string | english_human_message | some_ids_or_json_code_in_order_to_help_client_dev  
* remember that sometimes exception are throw to lower level so except if we try-catch the entire external function we can't change them.

Revision as of 03:15, 8 May 2012

Jerome Mouneyrac - 08/05/2012

For exception format:

  • I wonder if 'message' should be translated
  • I wonder if 'debuginfo' could have a defined structure like: code_error_string | english_human_message | some_ids_or_json_code_in_order_to_help_client_dev
  • remember that sometimes exception are throw to lower level so except if we try-catch the entire external function we can't change them.