C# Class Prism.Mods.LoaderError

Represents an error encountered while loading mods.
Afficher le fichier Open project: TerrariaPrismTeam/Prism

Méthodes publiques

Méthode Description
LoaderError ( ModInfo info, Exception e ) : System
LoaderError ( ModInfo info, string message = null, object data = null ) : System
LoaderError ( string modPath, Exception e, ModInfo info = null ) : System
LoaderError ( string modPath, string message = null, object data = null, ModInfo info = null ) : System

Constructs a new LoaderError.

ToString ( ) : string

Gets the string representation of this error including its ModPath, ModInfo, Message, and Data.

Private Methods

Méthode Description
Join ( IEnumerable coll, string jw ) : string
PrettyPrintObject ( object o ) : string

Method Details

LoaderError() public méthode

public LoaderError ( ModInfo info, Exception e ) : System
info ModInfo
e System.Exception
Résultat System

LoaderError() public méthode

public LoaderError ( ModInfo info, string message = null, object data = null ) : System
info ModInfo
message string
data object
Résultat System

LoaderError() public méthode

public LoaderError ( string modPath, Exception e, ModInfo info = null ) : System
modPath string
e System.Exception
info ModInfo
Résultat System

LoaderError() public méthode

Constructs a new LoaderError.
public LoaderError ( string modPath, string message = null, object data = null, ModInfo info = null ) : System
modPath string The path to the mod associated with this error
message string The message associated with this error
data object The data associated with this error
info ModInfo The of the mod associated with this error
Résultat System

ToString() public méthode

Gets the string representation of this error including its ModPath, ModInfo, Message, and Data.
public ToString ( ) : string
Résultat string