Full error handling