Class: DewSessionError
- Namespace:
Global - Assembly:
Dew.Core.dll
csharp
public class DewSessionErrorFields
| Name | Declaration | Description |
|---|---|---|
args | public object[] args |
Methods
Error()
csharp
public static DewSessionError Error()Returns: DewSessionError
Error(Exception)
csharp
public static DewSessionError Error(Exception e)Parameters:
| Name | Type | Description |
|---|---|---|
e | System.Exception |
Returns: DewSessionError
Show(bool, bool)
Output this error message on screen.
csharp
public void Show(bool isFatal, bool isGame)Parameters:
| Name | Type | Description |
|---|---|---|
isFatal | bool | |
isGame | bool |
ShowError(bool, bool)
Show a generic, unknown error
csharp
public static void ShowError(bool isFatal = false, bool isGame = true)Parameters:
| Name | Type | Description |
|---|---|---|
isFatal | bool | |
isGame | bool |
ShowError(Exception, bool, bool)
Fatal error will close the application after it's closed.
csharp
public static void ShowError(Exception e, bool isFatal = false, bool isGame = true)Parameters:
| Name | Type | Description |
|---|---|---|
e | System.Exception | |
isFatal | bool | |
isGame | bool |