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

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

Méthodes publiques

Свойство Type Description
message String
name String

Méthodes publiques

Méthode 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 méthode

Creates a new Error object.
public Error ( ) : System
Résultat System

Error() public méthode

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

toString() public méthode

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

Property Details

message public_oe property

Contains the message associated with the Error object.
public String message
Résultat String

name public_oe property

Contains the name of the Error object.
public String name
Résultat String