Activiti-Rest-Client
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Activiti/Rest/Response.pm view on Meta::CPAN
my $args = {
status_code => $res->code,
message => $res->message,
content => $res->content,
content_type => $ct,
error_message => $exception,
exception => $exception
};
#The operation failed. The operation requires an Authentication header to be set. If this was present in the request, the supplied credentials are not valid or the user is not authorized to perform this operation.
if($code eq "401"){
Activiti::Rest::Error::UnAuthorized->throw($args);
}
#The operation is forbidden and should not be re-attempted. This does not imply an issue with authentication not authorization, it's an operation that is not allowed. Example: deleting a task that is part of a running process is not allowed and w...
elsif($code eq "403"){
Activiti::Rest::Error::Forbidden->throw($args);
}
#The operation failed.The requested resource was not found.
view all matches for this distributionview release on metacpan - search on metacpan
( run in 2.195 seconds using v1.00-cache-2.02-grep-82fe00e-cpan-72ae3ad1e6da )