GitHub

DaffDriverResponse

import { DaffDriverResponse } from '@daffodil/driver'

A driver response. Can contain a response, errors, or both.

interface DaffDriverResponse<T> {
  response: T
  errors: DaffError[]
}

Properties

response
T

The body of the response.

errors
DaffError[]

A list of errors that occured during the driver call.