ErrorType
type ErrorType = symbol
A symbol indicating the type of an error. The possible values are listed in the ErrorType
namespace.
namespace ErrorType {
const Expected: symbol;
const Unexpected: symbol;
const Generic: symbol;
const Nested: symbol;
const Compound: symbol;
const Other: symbol;
}
NestedError
s must be of type ErrorType.Nested
, while CompoundError
s must be of type ErrorType.Compound
. All other error types are used for LocalError
s.