Error due to a failed type check
is Exception
Error class thrown when a type check fails.
method operation(--> Str)
Returns a string description of the operation that failed, for example "assignment"
, "binding"
, "return"
.
method got()
Returns the object that failed to type check
method expected()
Returns the type object against which the check failed.