Debian Codegraph @

error_cause_invalid_mandatory_parameter.go

raw
1 // SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
2 // SPDX-License-Identifier: MIT
3
4 package sctp
5
6 // errorCauseInvalidMandatoryParameter represents an SCTP error cause.
7 type errorCauseInvalidMandatoryParameter struct {
8 errorCauseHeader
9 }
10
11 func (e *errorCauseInvalidMandatoryParameter) marshal() ([]byte, error) {
12 return e.errorCauseHeader.marshal()
13 }
14
15 func (e *errorCauseInvalidMandatoryParameter) unmarshal(raw []byte) error {
16 return e.errorCauseHeader.unmarshal(raw)
17 }
18
19 // String makes errorCauseInvalidMandatoryParameter printable.
20 func (e *errorCauseInvalidMandatoryParameter) String() string {
21 return e.errorCauseHeader.String()
22 }