package MyBlog::X::NotFound; use Moose; extends 'MyBlog::X'; with qw(Throwable::X); use Throwable::X -all; has '+http_status' => ( default => 404 ); has [qw(ident class)] => ( is => 'ro', traits => [Payload], );