Skip to content

Class: DewSessionError ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public class DewSessionError

Fields ​

NameDeclarationDescription
argspublic object[] args

Methods ​

Error() ​

csharp
public static DewSessionError Error()

Returns: DewSessionError

Error(Exception) ​

csharp
public static DewSessionError Error(Exception e)

Parameters:

NameTypeDescription
eSystem.Exception

Returns: DewSessionError

Show(bool, bool) ​

Output this error message on screen.

csharp
public void Show(bool isFatal, bool isGame)

Parameters:

NameTypeDescription
isFatalbool
isGamebool

ShowError(bool, bool) ​

Show a generic, unknown error

csharp
public static void ShowError(bool isFatal = false, bool isGame = true)

Parameters:

NameTypeDescription
isFatalbool
isGamebool

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:

NameTypeDescription
eSystem.Exception
isFatalbool
isGamebool

Maintained by the Shape of Dreams Modding Community