GitHub

DaffDriverResponse

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

import { DaffDriverResponse } from '@daffodil/driver'
interface DaffDriverResponse<T> {
  response: T
  errors: DaffError[]
}

Properties

Name Type Description
response T

The body of the response.

errors DaffError[]

A list of errors that occured during the driver call.