| 1 | package Message::Passing::Exception::Decoding; | ||
| 2 | 4 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 4 | ▶ | use Data::Dumper (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | ▶ | use MooX::Types::MooseLike::Base qw/ Str /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 4 | ▶ | use namespace::clean -except => 'meta'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 4 | with 'Message::Passing::Exception'; | |
| 8 | |||
| 9 | 4 | has exception => ( | |
| 10 | is => 'ro', | ||
| 11 | required => 1, | ||
| 12 | isa => Str, | ||
| 13 | ); | ||
| 14 | |||
| 15 | 4 | has packed_data => ( | |
| 16 | is => 'ro', | ||
| 17 | isa => Str, | ||
| 18 | required => 1, | ||
| 19 | ); | ||
| 20 | |||
| 21 | 4 | 1; | |
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Message::Passing::Exception::Decoding - An issue when decoding data | ||
| 26 | |||
| 27 | =head1 ATTRIBUTES | ||
| 28 | |||
| 29 | =head2 exception | ||
| 30 | |||
| 31 | The exception encountered when trying to encode the message | ||
| 32 | |||
| 33 | =head2 packed_data | ||
| 34 | |||
| 35 | The original message. | ||
| 36 | |||
| 37 | =head1 AUTHOR, COPYRIGHT AND LICENSE | ||
| 38 | |||
| 39 | See L<Message::Passing>. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||