Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Root = errorx.NewNamespace("onvif") Common = Root.NewType("common") Soap = Root.NewType("soap", traitSoap) PropMethod = errorx.RegisterPrintableProperty("method") PropStatusCode = errorx.RegisterPrintableProperty("status_code") PropSoapCode = errorx.RegisterPrintableProperty("soap_code") )
Functions ¶
func IsSoapError ¶ added in v0.0.14
Types ¶
type Fault ¶ added in v0.0.14
type Fault struct {
XMLName xml.Name `xml:"Fault"`
Code FaultCode `xml:"Code"`
Reason FaultReason `xml:"Reason"`
Detail FaultDetail `xml:"Detail"`
}
type FaultCode ¶ added in v0.0.14
type FaultCode struct {
XMLName xml.Name `xml:"Code"`
Value xsd.String `xml:"Value"`
Subcode *FaultCodeSubcode `xml:"Subcode"`
}
type FaultCodeSubcode ¶ added in v0.0.14
type FaultCodeSubcode struct {
XMLName xml.Name `xml:"Subcode"`
Value xsd.String `xml:"Value"`
Subcode *FaultCodeSubcode `xml:"Subcode"`
}
type FaultDetail ¶ added in v0.0.14
type FaultEnvelope ¶ added in v0.0.14
type FaultEnvelope struct {
Header struct{} `xml:"Header"`
Body struct {
Fault Fault `xml:"Fault"`
} `xml:"Body"`
}
https://www.onvif.org/specs/core/ONVIF-Core-Specification-v1612.pdf page 26
type FaultReason ¶ added in v0.0.14
type FaultReason struct {
XMLName xml.Name `xml:"Reason"`
Text FaultReasonText `xml:"Text"`
}
Click to show internal directories.
Click to hide internal directories.