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