UNPKG

@digitalpersona/services

Version:
20 lines (11 loc) 632 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/services](./services.md) &gt; [ServiceError](./services.serviceerror.md) &gt; [isHttpError](./services.serviceerror.ishttperror.md) ## ServiceError.isHttpError() method Allows to distinguish transport errors (HTTP) from [service faults](./services.servicefault.md)<!-- -->. <b>Signature:</b> ```typescript isHttpError(): boolean; ``` <b>Returns:</b> `boolean` `true` if the error was a transport error (HTTP), `false` if it was a [service fault](./services.servicefault.md)<!-- -->.