The error_wrapping method is not always passed an OpenStruct object.