package Moose::Exception::CodeBlockMustBeACodeRef;
BEGIN {
  $Moose::Exception::CodeBlockMustBeACodeRef::AUTHORITY = 'cpan:STEVAN';
}
{
  $Moose::Exception::CodeBlockMustBeACodeRef::VERSION = '2.1200';
}

use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::ParamsHash', 'Moose::Exception::Role::Instance';

sub _build_message {
    "Your code block must be a CODE reference";
}

1;
