/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { ExpandedStatus } from "#common/ExpandedStatus.js"; import { MatterAggregateError } from "@matter/general"; import { DataModelPath } from "@matter/model"; import { StatusResponseError } from "@matter/types"; /** * A protocol error associated with a specific data model path. * * @see {@link MatterSpecification.v161.Core} § 8.10 */ export declare class PathError extends StatusResponseError { #private; constructor({ path, status: { id, status, clusterStatus }, message }: PathError.Definition); get id(): string; get path(): DataModelPath; } /** * A {@link PathError} the peer reported. * * @see {@link MatterSpecification.v161.Core} § 8.10 */ export declare class ReceivedPathError extends PathError { get received(): true; } export declare namespace PathError { interface Definition { path: DataModelPath; status: ExpandedStatus; message?: string; } } /** * Raised when multiple {@link PathError}s occur in one operation. */ export declare class AggregatePathError extends MatterAggregateError { } //# sourceMappingURL=PathError.d.ts.map