@adobe/firefly-apis
Version:
Adobe Firefly Services library for consuming Firefly Service APIs.
28 lines (26 loc) • 1.03 kB
TypeScript
/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2025 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
**************************************************************************/
import type { ErrorCode } from "./ErrorCode";
import type { ValidationErrorMessage } from "./ValidationErrorMessage";
/**
* The error within the error response.
*/
export type ApiError = {
error_code: ErrorCode;
message?: string;
validation_errors?: ValidationErrorMessage[];
};