C# Class SGDE.Content.Code.Library.Error

The Error class contains information about an error that occurred in a script.
Inheritance: Object
Datei anzeigen Open project: sgdc/sgdc-old

Public Properties

Property Type Description
message String
name String

Public Methods

Method Description
Error ( ) : System

Creates a new Error object.

Error ( String message ) : System

Creates a new Error object.

toString ( ) : String

Returns the string "Error" by default or the value contained in the Error.message property, if defined.

Method Details

Error() public method

Creates a new Error object.
public Error ( ) : System
return System

Error() public method

Creates a new Error object.
public Error ( String message ) : System
message String A string associated with the Error object; this parameter is optional.
return System

toString() public method

Returns the string "Error" by default or the value contained in the Error.message property, if defined.
public toString ( ) : String
return String

Property Details

message public_oe property

Contains the message associated with the Error object.
public String message
return String

name public_oe property

Contains the name of the Error object.
public String name
return String