More descriptive error handling.