Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2026 v1.0.0 Aug 25, 2026 Changes in this version + var ErrEncode = errors.New("encode failure") + var ErrEnvelope = errors.New("envelope failure") + var ErrParse = errors.New("parse failure") + var ErrSOAPFault = errors.New("SOAP fault") + var ErrSizeLimit = errors.New("size limit exceeded") + var ErrTarget = errors.New("invalid target") + var ErrUnsupportedFormat = errors.New("unsupported format") + var ErrValidation = errors.New("validation failure") + var ErrWrite = errors.New("write failure") + type Error struct + Err error + Format Format + Kind ErrorKind + Op string + func (e *Error) Error() string + func (e *Error) Is(target error) bool + func (e *Error) Unwrap() error + type ErrorKind string + const ErrorKindEncode + const ErrorKindEnvelope + const ErrorKindFault + const ErrorKindParse + const ErrorKindSizeLimit + const ErrorKindTarget + const ErrorKindUnsupported + const ErrorKindValidation + const ErrorKindWrite + type Format string + const FormatBSON + const FormatCBOR + const FormatJSON + const FormatMessagePack + const FormatSOAP + const FormatTOML + const FormatXML + const FormatYAML + func DetectFormat(payload []byte) (Format, error) Other modules containing this package github.com/faustbrian/go-wire/v2 github.com/faustbrian/go-wire/v3