MapsterMapper / Mapster

A fast, fun and stimulating object to object Mapper
MIT License
4.25k stars 326 forks source link

Exception Clarity Improvement #647

Closed tofanpetru closed 8 months ago

tofanpetru commented 8 months ago

Hello everyone!

I would like to receive some advice. How can I make the result of an exception much clearer? For example, what values and properties caused the exception?

The ultimate goal is to log this message to be much more user-friendly and clear. Because the application is running somewhere and it's very difficult to investigate

Let's assume that Mapster will throw an exception if it performs an incorrect conversion. img1