const class sys::NullErr
sys::Obj
sys::Err
sys::NullErr
Source
NullErr indicates an attempt to dereference null. It is often raised when attempting to access an instance field or method on a null reference. It may also be thrown when a parameter is expecting a non-nullable argument and null is passed.
-
make
-
new make(Str msg := "", Err? cause := null)
Source
Construct with specified error message and optional root cause.