C# Class Meteor.Error

显示文件 Open project: hiddenswitch/Meteor-Unity

Public Properties

Property Type Description
details string
error int
reason string

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current Meteor.Error. If both objects are errors, their reason and error codes will be compared instead of the instances.

Error ( )
GetHashCode ( ) : int

Serves as a hash function for a Meteor.Error object. This is defined as the error code in order to facilitate better comparisons.

operator ( ) : bool

Compares two error objects to see if their reasons and error codes are not equal.

Private Methods

Method Description
IsNull ( ) : bool

Method Details

Equals() public method

Determines whether the specified System.Object is equal to the current Meteor.Error. If both objects are errors, their reason and error codes will be compared instead of the instances.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

Error() public method

public Error ( )

GetHashCode() public method

Serves as a hash function for a Meteor.Error object. This is defined as the error code in order to facilitate better comparisons.
public GetHashCode ( ) : int
return int

operator() public static method

Compares two error objects to see if their reasons and error codes are not equal.
public static operator ( ) : bool
return bool

Property Details

details public_oe property

The error details. Corresponds to the third and last argument of your new Meteor.Error call in your Meteor code.
public string details
return string

error public_oe property

The error code. Corresponds to the first argument of your new Meteor.Error call in your Meteor code.
public int error
return int

reason public_oe property

The reason for the error. Corresponds to the second argument of your new Meteor.Error call in your Meteor code.
public string reason
return string