Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::ValidationError - Internal error representation for Conch::Validation

SOURCE

https://github.com/joyent/conch-api/blob/master/lib/Conch/ValidationError.pm

DESCRIPTION

Extends Mojo::Exception to store a hint attribute. Intended for use in Conch::Validation.

METHODS

error_loc

Return a description of where the error occurred. Provides the module name and line number, but not the filepath, so it doesn’t expose where the file lives.

LICENSING

Copyright Joyent, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.