Uploaded image for project: 'Perl Driver'
  1. Perl Driver
  2. PERL-188

Rationalize error handling

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Perl driver
    • Labels:
      None
    • Sprint:
      Perl Sprint 17

      Description

      The documentation is very vague about what happens when an error occurs. When are exceptions thrown? When are error strings returned? When is an error hash returned?

      For example, run_command is documented as returning a string on error. (I believe previous versions said an exception is thrown.) I have been told by other users that it can also return a hash containing a lastError object.

      I'd really appreciate a thorough review of error handling behavior and documentation so that I can be more confident that I'm correctly handling errors in my code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.golden David Golden
              Reporter:
              dagolden David Golden
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: