Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.UserError Class Reference

Represents an error in the input of a mutation. More...

Inheritance diagram for Shopify.Unity.UserError:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.DisplayableError

Public Member Functions

 UserError (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
List< string > field ()
 Path to the input field which caused the error. More...
 
string message ()
 The error message. More...
 
object Clone ()
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

Represents an error in the input of a mutation.

Constructor & Destructor Documentation

◆ UserError()

Shopify.Unity.UserError.UserError ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for UserError

Member Function Documentation

◆ field()

List<string> Shopify.Unity.UserError.field ( )
inline

Path to the input field which caused the error.

Implements Shopify.Unity.DisplayableError.

◆ message()

string Shopify.Unity.UserError.message ( )
inline

The error message.

Implements Shopify.Unity.DisplayableError.


The documentation for this class was generated from the following file: