const class sys::ReadonlyErr

sys::Obj
  sys::Err
    sys::ReadonlyErr

Source

ReadonlyErr indicates an attempt to modify a readonly instance. It is commonly used with List and Map.

make

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

Source

Construct with specified error message and optional root cause.