DEV Community

Discussion on: Errors

Collapse
 
guillermoprados profile image
Guille

Errors must be always handled.. if for any reason the error cannot be solved in the current layer, you must throw it to the upper one.. simple as that. At some point, it needs to be fixed. Not warnings, non general errors, nothing, if there is an error you fix it or you throw it to the upper layer (only if it makes sense)