3rd Eye Scene C#
3rd Eye Scene C# documentation
|
This class encapsulated error code values returned by various processing functions. More...
Public Member Functions | |
Error () | |
Create an error where Success is true . | |
Error (int code) | |
Create an error with the given code. | |
Error (int code, long value) | |
Create an error with the given code and value. | |
Error (ErrorCode code) | |
Create an error with an ErrorCode | |
Error (ErrorCode code, long value) | |
Create an error with an ErrorCode and value. | |
Public Attributes | |
int | Code |
The primary error code value. | |
long | Value |
An additional value for the error code. | |
Properties | |
bool | Success [get] |
Check the error code for success. | |
bool | Failed [get] |
Check the error code for failure. |
This class encapsulated error code values returned by various processing functions.
3rd Eye Scene uses error code in many places instead of exceptions for performance reasons.
Tes::Runtime::Error::Error | ( | int | code | ) | [inline] |
Create an error with the given code.
code | The error code. |
Tes::Runtime::Error::Error | ( | int | code, |
long | value | ||
) | [inline] |
Create an error with the given code and value.
code | The error code. |
value | The error value associated with the code. |
Tes::Runtime::Error::Error | ( | ErrorCode | code | ) | [inline] |
Create an error with an ErrorCode
code | The error code. |
Tes::Runtime::Error::Error | ( | ErrorCode | code, |
long | value | ||
) | [inline] |
Create an error with an ErrorCode and value.
code | The error code. |
value | The error value associated with the code. |
The primary error code value.
Normally correlates to a value in ErrorCode.
bool Tes::Runtime::Error::Failed [get] |
Check the error code for failure.
bool Tes::Runtime::Error::Success [get] |
Check the error code for success.