API Reference > itwin-client > 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 clients/itwin/src/WsgClient.ts Line 129 Last Updated: 12 June, 2024