type

CastErr

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

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

Construct with specified error message and optional root cause.