Documentation
¶
Index ¶
- func NewBitFieldOfLengthOverflowingTypeError(bitFieldLength uint, bitFieldType string) (e *bitFieldOfLengthOverflowingTypeError)
- func NewBitFieldOfUnsupportedTypeError(bitFieldType string) (e *bitFieldOfUnsupportedTypeError)
- func NewBitFieldWithMalformedTagError() *bitFieldWithMalformedTagError
- func NewBitFieldWithNoStructTagError() *bitFieldWithNoStructTagError
- func NewFormatWithNoWordsError() *formatWithNoWordsError
- func NewLengthOfByteSliceNotEqualToFormatLengthError(formatLengthInBytes, byteSliceLength uint) (e *lengthOfByteSliceNotEqualToFormatLengthError)
- func NewNonPointerError() *nonPointerError
- func NewPointerToNonStructVariableError() *pointerToNonStructVariableError
- func NewWordNotStructError() *wordNotStructError
- func NewWordOfIncompatibleLengthError(wordLength uint) (e *wordOfIncompatibleLengthError)
- func NewWordOfLengthNotEqualToSumOfLengthsOfBitFieldsError(wordLength, bitFieldLengthSum uint) (e *wordOfLengthNotEqualToSumOfLengthsOfBitFieldsError)
- func NewWordWithMalformedTagError() *wordWithMalformedTagError
- func NewWordWithNoBitFieldsError() *wordWithNoBitFieldsError
- func NewWordWithNoStructTagError() *wordWithNoStructTagError
- type BitFieldError
- type DefaultBitFieldError
- type DefaultFormatError
- type DefaultFunctionError
- type DefaultWordError
- type FormatError
- type FunctionError
- type WordError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBitFieldOfUnsupportedTypeError ¶
func NewBitFieldOfUnsupportedTypeError(bitFieldType string) ( e *bitFieldOfUnsupportedTypeError, )
func NewBitFieldWithMalformedTagError ¶
func NewBitFieldWithMalformedTagError() *bitFieldWithMalformedTagError
func NewBitFieldWithNoStructTagError ¶
func NewBitFieldWithNoStructTagError() *bitFieldWithNoStructTagError
func NewFormatWithNoWordsError ¶
func NewFormatWithNoWordsError() *formatWithNoWordsError
func NewLengthOfByteSliceNotEqualToFormatLengthError ¶
func NewLengthOfByteSliceNotEqualToFormatLengthError( formatLengthInBytes, byteSliceLength uint, ) ( e *lengthOfByteSliceNotEqualToFormatLengthError, )
func NewNonPointerError ¶
func NewNonPointerError() *nonPointerError
func NewPointerToNonStructVariableError ¶
func NewPointerToNonStructVariableError() *pointerToNonStructVariableError
func NewWordNotStructError ¶
func NewWordNotStructError() *wordNotStructError
func NewWordOfIncompatibleLengthError ¶
func NewWordOfIncompatibleLengthError(wordLength uint) ( e *wordOfIncompatibleLengthError, )
func NewWordOfLengthNotEqualToSumOfLengthsOfBitFieldsError ¶
func NewWordOfLengthNotEqualToSumOfLengthsOfBitFieldsError( wordLength, bitFieldLengthSum uint, ) ( e *wordOfLengthNotEqualToSumOfLengthsOfBitFieldsError, )
func NewWordWithMalformedTagError ¶
func NewWordWithMalformedTagError() *wordWithMalformedTagError
func NewWordWithNoBitFieldsError ¶
func NewWordWithNoBitFieldsError() *wordWithNoBitFieldsError
func NewWordWithNoStructTagError ¶
func NewWordWithNoStructTagError() *wordWithNoStructTagError
Types ¶
type BitFieldError ¶
type DefaultBitFieldError ¶
type DefaultBitFieldError struct { DefaultWordError // contains filtered or unexported fields }
func (*DefaultBitFieldError) SetBitFieldName ¶
func (e *DefaultBitFieldError) SetBitFieldName(bitFieldName string)
type DefaultFormatError ¶
type DefaultFormatError struct { DefaultFunctionError // contains filtered or unexported fields }
func (*DefaultFormatError) SetFormatName ¶
func (e *DefaultFormatError) SetFormatName(formatName string)
type DefaultFunctionError ¶
type DefaultFunctionError struct {
// contains filtered or unexported fields
}
func (*DefaultFunctionError) SetFunctionName ¶
func (e *DefaultFunctionError) SetFunctionName(functionName string)
type DefaultWordError ¶
type DefaultWordError struct { DefaultFormatError // contains filtered or unexported fields }
func (*DefaultWordError) SetWordName ¶
func (e *DefaultWordError) SetWordName(wordName string)
type FormatError ¶
type FormatError interface { FunctionError SetFormatName(string) }
type FunctionError ¶
type WordError ¶
type WordError interface { FormatError SetWordName(string) }
Click to show internal directories.
Click to hide internal directories.