Meteor-Unity  3
A C#-based SDK for connecting Unity to Meteor servers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Meteor.Error Class Reference

A Meteor error. More...

Public Member Functions

override int GetHashCode ()
 Serves as a hash function for a Meteor.Error object. This is defined as the error code in order to facilitate better comparisons. More...
 
override bool Equals (object obj)
 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. More...
 

Static Public Member Functions

static bool operator== (Error a, Error b)
 Compares two error objects to see if their reasons and error codes are equal. More...
 
static bool operator!= (Error a, Error b)
 Compares two error objects to see if their reasons and error codes are not equal. More...
 

Public Attributes

string reason
 The reason for the error. Corresponds to the second argument of your More...
 
int error
 The error code. Corresponds to the first argument of your More...
 
string details
 The error details. Corresponds to the third and last argument of your More...
 

Detailed Description

A Meteor error.

Member Function Documentation

override bool Meteor.Error.Equals ( object  obj)
inline

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.

Parameters
objThe System.Object to compare with the current Meteor.Error.
Returns
true if the specified System.Object is equal to the current Meteor.Error; otherwise, false.
override int Meteor.Error.GetHashCode ( )
inline

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

Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.
static bool Meteor.Error.operator!= ( Error  a,
Error  b 
)
inlinestatic

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

static bool Meteor.Error.operator== ( Error  a,
Error  b 
)
inlinestatic

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

Member Data Documentation

string Meteor.Error.details

The error details. Corresponds to the third and last argument of your

new Meteor.Error call in your Meteor code.

int Meteor.Error.error

The error code. Corresponds to the first argument of your

new Meteor.Error call in your Meteor code.

string Meteor.Error.reason

The reason for the error. Corresponds to the second argument of your

new Meteor.Error call in your Meteor code.


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