Documentation
¶
Index ¶
- Variables
- type EDAMErrorCode
- type EDAMNotFoundException
- type EDAMSystemException
- func (p *EDAMSystemException) IsSetErrorCode() bool
- func (p *EDAMSystemException) IsSetMessage() bool
- func (p *EDAMSystemException) IsSetRateLimitDuration() bool
- func (p *EDAMSystemException) Read(iprot thrift.TProtocol) error
- func (p *EDAMSystemException) String() string
- func (p *EDAMSystemException) Write(oprot thrift.TProtocol) error
- type EDAMUserException
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type EDAMErrorCode ¶
type EDAMErrorCode int64
Numeric codes indicating the type of error that occurred on the service. <dl>
<dt>UNKNOWN</dt>
<dd>No information available about the error</dd>
<dt>BAD_DATA_FORMAT</dt>
<dd>The format of the request data was incorrect</dd>
<dt>PERMISSION_DENIED</dt>
<dd>Not permitted to perform action</dd>
<dt>INTERNAL_ERROR</dt>
<dd>Unexpected problem with the service</dd>
<dt>DATA_REQUIRED</dt>
<dd>A required parameter/field was absent</dd>
<dt>LIMIT_REACHED</dt>
<dd>Operation denied due to data model limit</dd>
<dt>QUOTA_REACHED</dt>
<dd>Operation denied due to user storage limit</dd>
<dt>INVALID_AUTH</dt>
<dd>Username and/or password incorrect</dd>
<dt>AUTH_EXPIRED</dt>
<dd>Authentication token expired</dd>
<dt>DATA_CONFLICT</dt>
<dd>Change denied due to data model conflict</dd>
<dt>ENML_VALIDATION</dt>
<dd>Content of submitted note was malformed</dd>
<dt>SHARD_UNAVAILABLE</dt>
<dd>Service shard with account data is temporarily down</dd>
<dt>LEN_TOO_SHORT</dt>
<dd>Operation denied due to data model limit, where something such
as a string length was too short</dd>
<dt>LEN_TOO_LONG</dt>
<dd>Operation denied due to data model limit, where something such
as a string length was too long</dd>
<dt>TOO_FEW</dt>
<dd>Operation denied due to data model limit, where there were
too few of something.</dd>
<dt>TOO_MANY</dt>
<dd>Operation denied due to data model limit, where there were
too many of something.</dd>
<dt>UNSUPPORTED_OPERATION</dt>
<dd>Operation denied because it is currently unsupported.</dd>
<dt>TAKEN_DOWN</dt>
<dd>Operation denied because access to the corresponding object is
prohibited in response to a take-down notice.</dd>
<dt>RATE_LIMIT_REACHED</dt>
<dd>Operation denied because the calling application has reached
its hourly API call limit for this user.</dd>
</dl>
const ( EDAMErrorCode_UNKNOWN EDAMErrorCode = 1 EDAMErrorCode_BAD_DATA_FORMAT EDAMErrorCode = 2 EDAMErrorCode_PERMISSION_DENIED EDAMErrorCode = 3 EDAMErrorCode_INTERNAL_ERROR EDAMErrorCode = 4 EDAMErrorCode_DATA_REQUIRED EDAMErrorCode = 5 EDAMErrorCode_LIMIT_REACHED EDAMErrorCode = 6 EDAMErrorCode_QUOTA_REACHED EDAMErrorCode = 7 EDAMErrorCode_INVALID_AUTH EDAMErrorCode = 8 EDAMErrorCode_AUTH_EXPIRED EDAMErrorCode = 9 EDAMErrorCode_DATA_CONFLICT EDAMErrorCode = 10 EDAMErrorCode_ENML_VALIDATION EDAMErrorCode = 11 EDAMErrorCode_SHARD_UNAVAILABLE EDAMErrorCode = 12 EDAMErrorCode_LEN_TOO_SHORT EDAMErrorCode = 13 EDAMErrorCode_LEN_TOO_LONG EDAMErrorCode = 14 EDAMErrorCode_TOO_FEW EDAMErrorCode = 15 EDAMErrorCode_TOO_MANY EDAMErrorCode = 16 EDAMErrorCode_UNSUPPORTED_OPERATION EDAMErrorCode = 17 EDAMErrorCode_TAKEN_DOWN EDAMErrorCode = 18 EDAMErrorCode_RATE_LIMIT_REACHED EDAMErrorCode = 19 )
func EDAMErrorCodeFromString ¶
func EDAMErrorCodeFromString(s string) (EDAMErrorCode, error)
func (EDAMErrorCode) String ¶
func (p EDAMErrorCode) String() string
type EDAMNotFoundException ¶
type EDAMNotFoundException struct {
Identifier string `thrift:"identifier,1"`
Key string `thrift:"key,2"`
}
func NewEDAMNotFoundException ¶
func NewEDAMNotFoundException() *EDAMNotFoundException
func (*EDAMNotFoundException) IsSetIdentifier ¶
func (p *EDAMNotFoundException) IsSetIdentifier() bool
func (*EDAMNotFoundException) IsSetKey ¶
func (p *EDAMNotFoundException) IsSetKey() bool
func (*EDAMNotFoundException) Read ¶
func (p *EDAMNotFoundException) Read(iprot thrift.TProtocol) error
func (*EDAMNotFoundException) String ¶
func (p *EDAMNotFoundException) String() string
type EDAMSystemException ¶
type EDAMSystemException struct {
ErrorCode EDAMErrorCode `thrift:"errorCode,1,required"`
Message string `thrift:"message,2"`
RateLimitDuration int32 `thrift:"rateLimitDuration,3"`
}
func NewEDAMSystemException ¶
func NewEDAMSystemException() *EDAMSystemException
func (*EDAMSystemException) IsSetErrorCode ¶
func (p *EDAMSystemException) IsSetErrorCode() bool
func (*EDAMSystemException) IsSetMessage ¶
func (p *EDAMSystemException) IsSetMessage() bool
func (*EDAMSystemException) IsSetRateLimitDuration ¶
func (p *EDAMSystemException) IsSetRateLimitDuration() bool
func (*EDAMSystemException) String ¶
func (p *EDAMSystemException) String() string
type EDAMUserException ¶
type EDAMUserException struct {
ErrorCode EDAMErrorCode `thrift:"errorCode,1,required"`
Parameter string `thrift:"parameter,2"`
}
func NewEDAMUserException ¶
func NewEDAMUserException() *EDAMUserException
func (*EDAMUserException) IsSetErrorCode ¶
func (p *EDAMUserException) IsSetErrorCode() bool
func (*EDAMUserException) IsSetParameter ¶
func (p *EDAMUserException) IsSetParameter() bool
func (*EDAMUserException) String ¶
func (p *EDAMUserException) String() string
Click to show internal directories.
Click to hide internal directories.