Documentation
¶
Index ¶
- type ComplexError
- type ComplexNestedErrorData
- type FooEnum
- type FooError
- type GreetingStruct
- type InvalidGreeting
- type MyUnion
- type MyUnionMemberBlobValue
- type MyUnionMemberBooleanValue
- type MyUnionMemberEnumValue
- type MyUnionMemberListValue
- type MyUnionMemberMapValue
- type MyUnionMemberNumberValue
- type MyUnionMemberStringValue
- type MyUnionMemberStructureValue
- type MyUnionMemberTimestampValue
- type UnknownUnionMember
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComplexError ¶
type ComplexError struct {
Message *string
TopLevel *string
Nested *ComplexNestedErrorData
}
This error is thrown when a request is invalid.
func (*ComplexError) Error ¶
func (e *ComplexError) Error() string
func (*ComplexError) ErrorCode ¶
func (e *ComplexError) ErrorCode() string
func (*ComplexError) ErrorFault ¶
func (e *ComplexError) ErrorFault() smithy.ErrorFault
func (*ComplexError) ErrorMessage ¶
func (e *ComplexError) ErrorMessage() string
type ComplexNestedErrorData ¶
type ComplexNestedErrorData struct {
Foo *string
}
type FooError ¶
type FooError struct {
Message *string
}
This error has test cases that test some of the dark corners of Amazon service framework history. It should only be implemented by clients.
func (*FooError) ErrorFault ¶
func (e *FooError) ErrorFault() smithy.ErrorFault
func (*FooError) ErrorMessage ¶
type GreetingStruct ¶
type GreetingStruct struct {
Hi *string
}
type InvalidGreeting ¶
type InvalidGreeting struct {
Message *string
}
This error is thrown when an invalid greeting value is provided.
func (*InvalidGreeting) Error ¶
func (e *InvalidGreeting) Error() string
func (*InvalidGreeting) ErrorCode ¶
func (e *InvalidGreeting) ErrorCode() string
func (*InvalidGreeting) ErrorFault ¶
func (e *InvalidGreeting) ErrorFault() smithy.ErrorFault
func (*InvalidGreeting) ErrorMessage ¶
func (e *InvalidGreeting) ErrorMessage() string
type MyUnion ¶
type MyUnion interface {
// contains filtered or unexported methods
}
A union with a representative set of types for members.
type MyUnionMemberBlobValue ¶
type MyUnionMemberBlobValue struct {
Value []byte
}
type MyUnionMemberBooleanValue ¶
type MyUnionMemberBooleanValue struct {
Value bool
}
type MyUnionMemberEnumValue ¶
type MyUnionMemberEnumValue struct {
Value FooEnum
}
type MyUnionMemberListValue ¶
type MyUnionMemberListValue struct {
Value []*string
}
type MyUnionMemberMapValue ¶
type MyUnionMemberNumberValue ¶
type MyUnionMemberNumberValue struct {
Value int32
}
type MyUnionMemberStringValue ¶
type MyUnionMemberStringValue struct {
Value string
}
type MyUnionMemberStructureValue ¶
type MyUnionMemberStructureValue struct {
Value *GreetingStruct
}
type UnknownUnionMember ¶
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
Click to show internal directories.
Click to hide internal directories.