package
0.0.0-20230421053604-b3f7bda99619
Repository: https://github.com/funbinary/go_example.git
Documentation: pkg.go.dev
# Functions
IsIO returns a boolean indicating whether the error is known to report that the underlying reader or writer encountered an ErrIO.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
ErrBadArguments indicates arguments passed to the function are not what was expected.
ErrBadDiscriminant indicates that a non-integer field of a struct was marked as a union discriminant through a struct tag.
ErrBadEnumValue indicates an enumeration value is not in the list of valid values.
ErrBadOptional indicates that a non-pointer field of a struct was marked as an optional-data.
ErrIO indicates an error was encountered while reading or writing to an io.Reader or io.Writer, respectively.
ErrNilInterface indicates an interface with no concrete type information was encountered.
ErrNotSettable indicates an interface value cannot be written to.
ErrOverflow indicates that the data in question is too large to fit into the corresponding Go or XDR data type.
ErrParseTime indicates an error was encountered while parsing an RFC3339 formatted time value.
ErrUnsupportedType indicates the Go type is not a supported type for marshalling and unmarshalling XDR data.
# Structs
A Decoder wraps an io.Reader that is expected to provide an XDR-encoded byte stream and provides several exposed methods to manually decode various XDR primitives without relying on reflection.
MarshalError describes a problem encountered while marshaling data.
UnmarshalError describes a problem encountered while unmarshaling data.
# Type aliases
ErrorCode identifies a kind of error.