C# Class Prism.Mods.LoaderError

Represents an error encountered while loading mods.
显示文件 Open project: TerrariaPrismTeam/Prism

Public Methods

Method 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

Method Description
Join ( IEnumerable coll, string jw ) : string
PrettyPrintObject ( object o ) : string

Method Details

LoaderError() public method

public LoaderError ( ModInfo info, Exception e ) : System
info ModInfo
e System.Exception
return System

LoaderError() public method

public LoaderError ( ModInfo info, string message = null, object data = null ) : System
info ModInfo
message string
data object
return System

LoaderError() public method

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

LoaderError() public method

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
return System

ToString() public method

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