summaryrefslogtreecommitdiff
path: root/lib/Moose/Exception/BuilderDoesNotExist.pm
blob: 6629352f71204f748c6e717e6cf28d2b8ac3aa7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package Moose::Exception::BuilderDoesNotExist;
our $VERSION = '2.1405';

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

sub _build_message {
    my $self = shift;
    blessed($self->instance)." does not support builder method '".$self->attribute->builder."' for attribute '".$self->attribute->name."'";
}

1;