avram icon indicating copy to clipboard operation
avram copied to clipboard

Errors should have the variables as properties

Open jwoertink opened this issue 3 years ago • 0 comments

https://github.com/luckyframework/avram/blob/9251a965372d319977558bcbe3d0696f60aeb45e/src/avram/errors.cr#L23-L31

You should be able to access these locals as properties so that way if you need to customize this error, you can.

This is just one class, but there's a few that could benefit here as well

jwoertink avatar Mar 04 '22 17:03 jwoertink