const class sys::CastErr

sys::Obj
  sys::Err
    sys::CastErr

Source

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

make

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

Source

Construct with specified error message and optional root cause.