Skip to content

Commit

Permalink
better descriptions for error methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 6, 2014
1 parent 3bd87af commit 2b6775d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Mojo/Message.pm
Expand Up @@ -498,7 +498,8 @@ make sure it is not excessively large, there's a 10MB limit by default.
my $err = $msg->error;
$msg = $msg->error({message => 'Parser error', advice => 500});
Message error.
Get or set message error, an C<undef> return value indicates that there is no
error.
=head2 extract_start_line
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Transaction.pm
Expand Up @@ -214,7 +214,8 @@ Connection identifier or socket.
my $err = $tx->error;
Transaction error, commonly used together with L</"success">.
Return transaction error or C<undef> if there is no error, commonly used
together with L</"success">.
=head2 is_finished
Expand Down

0 comments on commit 2b6775d

Please sign in to comment.