C# Class Pokemon3D.Scripting.ErrorHandler

Handles ScriptProcessor errors.
Datei anzeigen Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
ErrorHandler ( ScriptProcessor processor ) : Pokemon3D.Scripting.Types
ThrowError ( ErrorType errorType, string message ) : SObject

Throws an error with the given ErrorType and error message.

ThrowError ( SObject errorObject ) : SObject

Throws an error with the given error object.

Private Methods

Method Description
Clean ( ) : void

Method Details

ErrorHandler() public method

public ErrorHandler ( ScriptProcessor processor ) : Pokemon3D.Scripting.Types
processor ScriptProcessor
return Pokemon3D.Scripting.Types

ThrowError() public method

Throws an error with the given ErrorType and error message.
public ThrowError ( ErrorType errorType, string message ) : SObject
errorType ErrorType
message string
return Pokemon3D.Scripting.Types.SObject

ThrowError() public method

Throws an error with the given error object.
public ThrowError ( SObject errorObject ) : SObject
errorObject Pokemon3D.Scripting.Types.SObject
return Pokemon3D.Scripting.Types.SObject