Menu

#10 Error reporting should be improved

open
hidrd (14)
4
2010-02-26
2010-02-13
No

Error reporting should be improved for the user to be able to know what really happened.

Discussion

  • Nikolai Kondrashov

    • priority: 1 --> 4
     
  • Nikolai Kondrashov

    • labels: --> 1344008
     
  • Nikolai Kondrashov

    • labels: 1344008 --> hidrd
     
  • Nikolai Kondrashov

    Now some error reporting has been implemented.
    However, it needs improving.
    The current plan is to introduce stream error type (hidrd_strm_err) from which to derive specific errors (like hidrd_xml_snk_err or hidrd_natv_src_err).
    Such error type should have a method to format a user-readable message.
    The dynamically allocated instances of these errors should be returned from any relevant source/sink instance calls.
    NULL should be returned if there is no error.

     

Log in to post a comment.