Describes an error.
sealed class
|
TinmanError
|
implements
|
ICodeOutput
|
The errors that have caused this error.
public
readonly
field
|
ErrorCause
|
||
type
|
IVectorConst<TinmanError>
|
The error message (for human consumption).
public
readonly
field
|
ErrorMessage
|
||
type
|
string
|
Remarks:
This
value
will
never
be
null
or
empty.
The error source.
public
readonly
field
|
ErrorSource
|
||
type
|
string
|
Remarks:
The source depicts the type and member where the error has occurred resp. has been detected. The error source string has the following format:
'TypeName.MemberName'where
TypeName
is
the
name
of
the
type,
excluding
the
namespace
(e.g.
'ByteBuffer'
for
ByteBuffer)
and
MemberName
is
the
name
of
the
type
member
that
has
triggered
resp.
reported
the
error.
This
value
will
never
be
null
or
empty.
The error stack trace (if available), in a native format.
public
readonly
field
|
ErrorTrace
|
||
type
|
string
|
Extracts an TinmanError object from the given native exception.
public
static
method
|
From
(string source,
Exception exception)
|
||
type
|
TinmanError
|
||
params
|
source
|
The error source tag. | |
exception
|
The native exception. | ||
returns
|
|
The resulting error info. |
Creates a new instance of TinmanError.
public
constructor
|
TinmanError
(string errorSource,
string errorMessage)
|
||
params
|
errorSource
|
The error source (see ErrorSource). | |
errorMessage
|
The error message. |
Aggregates the given TinmanError s into one error.
public
static
method
|
Wrap
(string source,
string message,
IVectorConst<TinmanError> errors)
|
||
type
|
TinmanError
|
||
params
|
source
|
Aggregated error source tag. | |
message
|
Aggregated error message. | ||
errors
|
Aggregated error infos. | ||
returns
|
|
The resulting error info. |
[Pure]
|
||||
public
override
method
|
ToString
()
|
|||
type
|
string
|
public
method
|
ToString
(int32 columns)
|
||
type
|
string
|
||
params
|
columns
|
Produces source code by feeding the given source code writer.
public
method
|
WriteSourceCode
(SourceCodeWriter writer,
Context context)
|
||
params
|
writer
|
[not-null]
|
The source code writer to use. |
context
|
[not-null]
|
Context information. | |
implements
|
ICodeOutput.WriteSourceCode
|