summaryrefslogtreecommitdiff
path: root/lib/Moose/Exception/BuilderMethodNotSupportedForAttribute.pm
blob: 648d50cfed72268942c39a41d9ca2b183317b9aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package Moose::Exception::BuilderMethodNotSupportedForAttribute;
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;