Closed DelevoXDG closed 9 months ago
Cherry-picked from #124 to support errors with any data in RPC 0.5.0-compatible version of starknet.swift
data
JsonRpcErrorData
JsonRpcError.data
String?
JsonRpcErrorData?
String
The additional test cases added in this PR will be merged to main in #140
Describe your changes
Cherry-picked from #124 to support errors with any
data
in RPC 0.5.0-compatible version of starknet.swiftJsonRpcErrorData
JsonRpcError.data
is now of typeString?
instead ofJsonRpcErrorData?
; convert any raw json toString
Linked issues
Breaking changes