// Copyright © 2022-2026 Partium, Inc. DBA Partium /** * An error in a response. */ export interface ResponseError { /** * The context of the response error. */ ctx: Record; /** * The location of the response error. */ loc: Array; /** * The message of the response error. */ msg: string; /** * The type of the response error. */ type: string; } /** * A detail of a response error. */ export type ResponseErrorDetail = Array; /** * A base response. */ export interface BaseResponse { /** * The details of the errors. */ detail?: ResponseErrorDetail; }