Allow for error attribute