Sha256: 3b29f1606fb94e7639414a86272ef69a3f7e7eca9e9ce83d4c3431db997017d4
Contents?: true
Size: 510 Bytes
Versions: 12
Compression:
Stored size: 510 Bytes
Contents
package Javonet::Core::Handler::CommandHandler::CastingHandler; use strict; use warnings FATAL => 'all'; use lib 'lib'; use Moose; use Nice::Try; use aliased 'Javonet::Core::Exception::Exception' => 'Exception'; extends 'Javonet::Core::Handler::CommandHandler::AbstractCommandHandler'; sub new { my $class = shift; my $self = {}; return bless $self, $class; } sub process { die Exception->new("Explicit cast is forbidden in dynamically typed languages"); } no Moose; 1;
Version data entries
12 entries across 12 versions & 1 rubygems