ServiceClientGenerator.ExceptionModel.ExceptionModel C# (CSharp) Method

ExceptionModel() public method

Creates a model that represents an exception in the service processed in the response
public ExceptionModel ( JsonData data, string name, string documentation, Shape structure ) : Json.LitJson
data JsonData The json data that contains information about the exception found in the model
name string The name of the exception
documentation string The documentation for the exception found in the service model json
structure Shape The shape that represents the exception
return Json.LitJson
        public ExceptionModel(JsonData data, string name, string documentation, Shape structure)
        {
            this._data = data;
            this._name = name;
            this._documentation = documentation;
            this._structure = structure;
        }
ExceptionModel