API referenceAPI schemaerrorsfunctionsisPublicApiError()Copy pageisPublicApiError() function isPublicApiError(error): error is PublicApiError; Parameters error unknownLast updated on November 18, 2026isApiErrorReasonOf()type-aliases