1 2 3 4 5 6 7 8
package MooseX::Net::API::Error; use Moose; has code => ( is => 'ro', isa => 'Str' ); has error => ( is => 'ro', isa => 'Str' ); 1;