const class sys::NotImmutableErr

sys::Obj
  sys::Err
    sys::NotImmutableErr

Source

NotImmutableErr indicates using a mutable Obj where an immutable Obj is required. See Obj.isImmutable for the definition of immutability.

make

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

Source

Construct with specified error message and optional root cause.