do not index these secondary packages - they cannot be loaded independently
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Error.pm
index b28d5b5..874f35d 100644 (file)
@@ -1,7 +1,9 @@
-#!/usr/bin/perl
-
 package Devel::REPL::Error;
+
+our $VERSION = '1.003027';
+
 use Moose;
+use namespace::autoclean;
 
 # FIXME get nothingmuch to refactor and release his useful error object
 
@@ -12,7 +14,7 @@ has type => (
 );
 
 has message => (
-  isa => "Str",
+  isa => "Str|Object",
   is  => "ro",
   required => 1,
 );
@@ -23,5 +25,3 @@ sub stringify {
   sprintf "%s: %s", $self->type, $self->message;
 }
 __PACKAGE__
-
-__END__