X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FError.pm;h=665c198498a0e83d32c2b8692b386204c85e3963;hp=b28d5b543355d7651a1b8845d99899cf8373404a;hb=afc8677b078de3f125147caf731bd298c8b6d04e;hpb=19ba909cb312f706f9275b61c55367298e031fce diff --git a/lib/Devel/REPL/Error.pm b/lib/Devel/REPL/Error.pm index b28d5b5..665c198 100644 --- a/lib/Devel/REPL/Error.pm +++ b/lib/Devel/REPL/Error.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl - package Devel::REPL::Error; use Moose; @@ -12,7 +10,7 @@ has type => ( ); has message => ( - isa => "Str", + isa => "Str|Object", is => "ro", required => 1, );