Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/expo_server_sdk_deno/index.ts>Expo#getErrorFromResult

Server-side library for working with Expo using Deno
Latest
method Expo.prototype.getErrorFromResult
import { Expo } from "https://deno.land/x/expo_server_sdk_deno@1.0.4/index.ts";

Returns an error for the first API error in the result, with an optional others field that contains any other errors.

Parameters

response: Response
result: ApiResult

Returns

Error