introduced the Error class to represent an error code as an object.
rewrote STIX_ASSERT() to call stix_logbfmt() via stix_assertfailed()
This commit is contained in:
@ -4,19 +4,6 @@
|
||||
|
||||
#########################################################################################
|
||||
|
||||
#class Error(Object)
|
||||
{
|
||||
#method(#class) signal: aString
|
||||
{
|
||||
"accept an arbitary object instead of a string.
|
||||
the object can be sent displayString for string conversion"
|
||||
}
|
||||
|
||||
#method isError
|
||||
{
|
||||
^true
|
||||
}
|
||||
}
|
||||
|
||||
#class Magnitude(Object)
|
||||
{
|
||||
|
Reference in New Issue
Block a user