toJson method

  1. @JS('toJSON')
JSObject toJson()

Returns a JSON-serializable object representation of this error.

@returns A JSON-serializable representation of this object.

Implementation

@JS('toJSON')
external JSObject toJson();