sealed class
|
ConfigException
|
extends
|
TinmanException
|
The given config type is not a class type (see ClassType).
public
static
readonly
field
|
ErrorMustBeClassType
|
||
type
|
Label
|
The TinmanError object that describes the error that has occurred.
public
property
|
ErrorInfo
{
get
}
|
||
type
|
TinmanError
|
||
value
|
|
The TinmanError object. | |
inherited
|
TinmanException.ErrorInfo
|
[Pure]
|
||||
public
override
sealed
property
|
Message
{
get
}
|
|||
type
|
string
|
|||
value
|
||||
inherited
|
TinmanException.Message
|
The error source (see ErrorSource).
public
property
|
Source
{
get
}
|
||
type
|
string
|
||
value
|
The error source tag. | ||
inherited
|
TinmanException.Source
|
An error has occurred while building a new config type.
public
static
method
|
CannotBuildType
(string source,
string typeName,
string message)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
typeName
|
Full name of the config type being built. | ||
message
|
The error message. | ||
returns
|
|
The ready-to-throw exception. |
An external implementation cannot be provided for a script function, because it is already implemented in script code.
public
static
method
|
CannotImplement
(string source,
string name)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
name
|
The function name. | ||
returns
|
|
The ready-to-throw exception. |
Abstract classes cannot be instantiated (New).
public
static
method
|
CannotInstantiateAbstractClass
(string source,
ClassType type)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The abstract class type. | ||
returns
|
|
The ready-to-throw exception. |
An identifier cannot be resolved.
public
static
method
|
CannotResolveName
(string source,
string name)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
name
|
The identifier. | ||
returns
|
|
The ready-to-throw exception. |
A config expression causes an infinite loop when being evaluated.
public
static
method
|
InfiniteLoop
(string source,
ConfigExpression expr)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
expr
|
The config expression. | ||
returns
|
|
The ready-to-throw exception. |
A function call is invalid.
public
static
method
|
InvalidCall
(string source,
ConfigMember function,
string message)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
function
|
The function name. | ||
message
|
Additional error message. | ||
returns
|
|
The ready-to-throw exception. |
The config type must have a configurator object.
public
static
method
|
MissingConfigurator
(string source,
ConfigType type)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The config type. | ||
returns
|
|
The ready-to-throw exception. |
The config type must be an array type.
public
static
method
|
MustBeArrayType
(string source,
ConfigType type)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The config type. | ||
returns
|
|
The ready-to-throw exception. |
The config type must be an enum type.
public
static
method
|
MustBeEnumType
(string source,
ConfigType type)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The config type. | ||
returns
|
|
The ready-to-throw exception. |
An assignment target expression is not an L-value.
public
static
method
|
MustBeLValue
(string source,
ConfigExpression expr)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
expr
|
The config expression. | ||
returns
|
|
The ready-to-throw exception. |
An enum item of the given name does not exist.
public
static
method
|
NoSuchEnumItem
(string source,
EnumType enumType,
string enumItem)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
enumType
|
The enum type. | ||
enumItem
|
The enum item name. | ||
returns
|
|
The ready-to-throw exception. |
A class field of the given name does not exist.
public
static
method
|
NoSuchField
(string source,
ConfigType type,
string fieldName)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The config type. | ||
fieldName
|
The field name. | ||
returns
|
|
The ready-to-throw exception. |
The config domain does not contain a config script of the given name.
public
static
method
|
NoSuchScript
(string source,
string scriptName)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
scriptName
|
The config script name. | ||
returns
|
|
The ready-to-throw exception. |
A config type of the given name does not exist.
public
static
method
|
NoSuchType
(string source,
string name)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
name
|
The config type name. | ||
returns
|
|
The ready-to-throw exception. |
The type a is not assignable to type b.
public
static
method
|
NotAssignable
(string source,
ConfigType a,
ConfigType b)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
a
|
The source type. | ||
b
|
The target type. | ||
returns
|
|
The ready-to-throw exception. |
The type a is not convertible to type b.
public
static
method
|
NotConvertible
(string source,
ConfigType a,
ConfigType b)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
a
|
The source type. | ||
b
|
The target type. | ||
returns
|
|
The ready-to-throw exception. |
The given string value is not convertible to type type.
public
static
method
|
NotConvertible
(string source,
ConfigType type,
string value)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The config type. | ||
value
|
The inconvertible string value. | ||
returns
|
|
The ready-to-throw exception. |
The given number value is not convertible to type type.
public
static
method
|
NotConvertible
(string source,
ConfigType type,
float64 value)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
type
|
The config type. | ||
value
|
The inconvertible number value. | ||
returns
|
|
The ready-to-throw exception. |
A
config
value
is
null
.
public
static
method
|
Null
(string source)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
returns
|
|
The ready-to-throw exception. |
An index is out of range.
public
static
method
|
OutOfRange
(string source,
int32 index,
int32 minimum,
int32 maximum)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
index
|
The bad index value. | ||
minimum
|
Minimum allowed index value (inclusive). | ||
maximum
|
Maximum allowed index value (exclusive). | ||
returns
|
|
The ready-to-throw exception. |
[Pure]
|
||||
public
override
sealed
method
|
ToString
()
|
|||
type
|
string
|
|||
inherited
|
TinmanException.ToString
|
A config type of the given already exists.
public
static
method
|
TypeAlreadyExists
(string source,
string typeName)
|
||
type
|
ConfigException
|
||
params
|
source
|
Error source tag. | |
typeName
|
Full name of the config type. | ||
returns
|
|
The ready-to-throw exception. |