type

CastErr

src const class CastErr : Err

CastErr is a runtime exception raised when invalid cast is performed.

constructors

make

Construct with specified error message and optional root cause.

Slot Details

make

src new make(Str msg := "", Err? cause := null)

Construct with specified error message and optional root cause.