Details of the exception.
Optionalmetadata: unknownReadonlymessageDetails of the exception.
Optional ReadonlymetadataOptionalstackStatic OptionalprepareOptional override for formatting stack traces
StaticstackTurns the exception into a Serialized object.
Staticcapture
Thrown when the state of an object is invalid after an improper operation or called at the wrong time.