NAME
Uniform::Exceptions - Standardized object-oriented error platform for the Uniform ecosystem
SYNOPSIS
use Uniform::Exceptions;
# Throw a structured validation error
Uniform::Exceptions->throw(
type => 'ValidationError',
message => 'Header argument must be a HASH reference',
attribute => $input_data,
);
DESCRIPTION
Uniform::Exceptions provides unified, object-oriented error handling across all distributions in the Uniform::* framework stack. Instead of utilizing plain strings, it bundles rich context tracking elements (file paths, lines, and bad parameters) into structured exception payloads.