Skip to content

Exceptions

phil/commerce-product-template

Every exception the library throws implements Phil\CommerceProductTemplate\Exception\ProductTemplateException.

ExceptionExtendsThrown when
InvalidDefinitionInvalidArgumentExceptionA part of a template or design is refused at construction, or read back from an array no code of the library wrote
PlanRefusedDomainExceptionA design cannot be planned on a template: see Planning

Messages name the code, value or path refused, for the person who maintains the templates.