Content pfp
Content
@
0 reply
0 recast
0 reaction

Mark Tyneway pfp
Mark Tyneway
@tynes
What are best practices for custom errors? - When should they include arguments? - Should there be many diff error types or more generic errors that accept arguments to differentiate error cases?
2 replies
2 recasts
8 reactions

Bmatt Music pfp
Bmatt Music
@bmattmusic
Error handling is usually pretty specific to the purpose of the function and how it’s applied. In web2 error codes typically dictate what your error should do. Do you have a specific example you’re working through?
0 reply
0 recast
0 reaction