Module: utils/rpc_errors
Classesโ
Functionsโ
formatErrorโ
formatError(errorClassName
, errorData
): string
Parametersโ
Name | Type |
---|---|
errorClassName | string |
errorData | any |
Returnsโ
string
Defined inโ
parseResultErrorโ
parseResultError(result
): ServerTransactionError
Parametersโ
Name | Type |
---|---|
result | any |
Returnsโ
ServerTransactionError
Defined inโ
parseRpcErrorโ
parseRpcError(errorObj
): ServerError
Parametersโ
Name | Type |
---|---|
errorObj | Record <string , any > |