Explicit error handling