Skip to content
Browse files

Explanation of the ErrorEvent parameters. Patch by Erick Calder.

  • Loading branch information...
1 parent 9ddd892 commit 8fde4c65adc90c90d0ba4d518d1ec785165c801d @rcaputo rcaputo committed
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/POE/Wheel/Run.pm
View
8 lib/POE/Wheel/Run.pm
@@ -872,8 +872,12 @@ does not, however, signal that the client process has stopped
accepting input.
C<ErrorEvent> contains the name of an event to emit if something
-fails. It is optional. If omitted, the wheel will not notify its
-session if any errors occur.
+fails. It is optional and if omitted, the wheel will not notify its
+session if any errors occur. The event receives 5 parameters as
+follows: ARG0 = the return value of syscall(), ARG1 = errno() - the
+numeric value of the error generated, ARG2 = error() - a descriptive
+for the given error, ARG3 = the wheel id, and ARG4 = the handle on
+which the error ocurred (stdout, stderr, etc.)
Wheel::Run requires at least one of the following three events:

0 comments on commit 8fde4c6

Please sign in to comment.
Something went wrong with that request. Please try again.