Fantom

 

const class

sys::CastErr

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

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

Slots

makeSource

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

Construct with specified error message and optional root cause.