Made ValidationErrors implement the error interface