import * as $ from "@wildboar/asn1/functional"; import { Code } from "../CommonProtocolSpecification/Code.ta.mjs"; /** * @summary ERROR * @description * * ### ASN.1 Definition: * * ```asn1 * ERROR ::= CLASS { * &ParameterType, * &errorCode Code UNIQUE OPTIONAL } * WITH SYNTAX { * PARAMETER &ParameterType * [CODE &errorCode] } * ``` * * @interface */ export interface ERROR { /** * @summary A fixed string that can be used for external programs to determine the object class of this object. */ readonly class: "ERROR"; /** * @summary A map of type fields to their corresponding decoders. */ readonly decoderFor: Partial<{ [_K in keyof ERROR]: $.ASN1Decoder[_K]>; }>; /** * @summary A map of type fields to their corresponding encoders. */ readonly encoderFor: Partial<{ [_K in keyof ERROR]: $.ASN1Encoder[_K]>; }>; /** * @summary &ParameterType */ readonly "&ParameterType": ParameterType; /** * @summary &errorCode */ readonly "&errorCode"?: Code; } //# sourceMappingURL=ERROR.oca.d.mts.map