issues
search
jolicode
/
automapper
:rocket: Very FAST :rocket: PHP AutoMapper with on the fly code generation
https://automapper.jolicode.com/
MIT License
154
stars
15
forks
source link
feat(exceptions): better exception naming, add interface to group all exceptions
#118
Closed
joelwurtz
closed
6 months ago
joelwurtz
commented
6 months ago
This implement the following pattern :
All exceptions throw by the lib implement the
AutoMapperException
interface
Split exceptions in 3 categories :
MetadataException : happens when loading metadata
CompileException : happens when generating code
RuntimeException : happens when executing the mapping
This implement the following pattern :
AutoMapperException
interface