| Recommend this page to a friend! |
| Packages of Axel Pardemann | PHP Objects Extensions | docs/sections/exceptions.md | Download |
|
|||||||||||||||||||||
layout: default title: Exceptions nav_order: 4 permalink: /exceptionsExceptions{: .no_toc } Table of contents{: .no_toc .text-delta }
The following is a list of the different exceptions that are used within this package. ClassNotExtensionMethodExceptionException thrown when trying to register an extension method that does not implement the ExtensionMethod contract. ExtensionGuardedExceptionException thrown when trying to unregister or replace a guarded extension method. ExtensionNotCallableExceptionException thrown when trying to register an extension method that is not callable. ExtensionNotFoundExceptionException thrown when trying to get a nonexistent extension from the extension collection. MethodDefinedInClassExceptionException thrown when trying to register an extension method with the same name as a defined class method. |