API Reference > imodeljs-clients > iTwinServiceClients > WsgError > getWSStatusId getWSStatusId MethodStatic Get WSError from error string getWSStatusId(error: string): number Parameter Type Description error string error to be returned in WSError enum Returns - number Defined in core/clients/src/WsgClient.ts Line 127 Last Updated: 13 June, 2024