Reports that an object could not be stringified due to cyclic references.
An object that references itself cannot be serialized by stringify
.
When the cycle is detected, a JsonCyclicError is thrown.
- Extends
- Object
- Error
- JsonUnsupportedObjectError
- JsonCyclicError
Properties
- dynamic cause
-
read-only, inheritedThe exception thrown when trying to convert the object.
- StackTrace stackTrace
-
read-only, inherited
- dynamic unsupportedObject
-
read-only, inheritedThe object that could not be serialized.
Constructors
- JsonCyclicError(Object object)
- The first object that was detected as part of a cycle.