Errors are returned in a more structured container