Skip to main content
Module

x/google_datastore/mod.ts>DatastoreError

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Go to Latest
class DatastoreError
extends Error
Re-export
import { DatastoreError } from "https://deno.land/x/google_datastore@0.0.14/mod.ts";

Errors using Datastore will by of this type, which includes extra info about the error.

Constructors

new
DatastoreError(message?: string, options?: DatastoreErrorOptions)

Properties

readonly
status: number | undefined

If the error was created as a result of a REST request, the status code will be reflected here.

readonly
statusInfo: unknown

If the error was created as a result of a REST request, the body of the response will be set here.

readonly
statusText: string | undefined

If the error was created as a result of a REST request, the status text will be reflected here.