API Reference > imodeljs-clients > iTwinServiceClients > WsgError > parse parse MethodStatic Attempt to parse the error from the response. Attempts to parse error data in a format that is returned by WSG services. This method only accesses data that was parsed by parent class to avoid dependencies on http libraries. parse(response: any, log: boolean = true): ResponseError Parameter Type Description response any Response from the server. log boolean Returns - ResponseError Parsed error. Defined in core/clients/src/WsgClient.ts Line 34 Last Updated: 13 June, 2024