Change 5105

tony_smith (Tony Smith)
Tony Smith committed this change into //guest/tony_smith/perforce/API/Ruby
Request Review
Download .zip
Make P4Ruby include the text of any errors or warnings in exception
messages. Previously the user had to call P4#errors() and/or P4#warnings()
to display this information and if you didn't handle P4Exception specifically
the message could look somewhat cryptic. This change hopefully makes it
easier - particularly for newbies.

Note that the text of warnings is not shown unless you're using
exception level 2 (P4::RAISE_ALL).
  • Files 6
  • Comments 0
6 edited 0 added 0 deleted
current/P4Ruby.tar.gz#38
Loading...
main/Changes#45
Loading...
main/p4clientapi.cpp#14
Loading...
main/p4rb_version.h#47
Loading...
main/p4result.cpp#4
Loading...
main/p4result.h#5
Loading...
Tip: Use n and p to cycle through the changes.