Type::Coercion::Union

a set of coercions to a union type constraint

Status

This module is covered by the Type-Tiny stability policy.

Description

This package inherits from Type::Coercion; see that for most documentation. The major differences are that add_type_coercions always throws an exception, and the type_coercion_map is automatically populated from the child constraints of the union type constraint.

Bugs

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny.

See Also

Type::Coercion.

Moose::Meta::TypeCoercion::Union.

Manual
The best place to start learning about this module is the manual.