Namespace opensocial.ResponseItem.Error
Error codes that a response item can return.
Defined in: opensocial.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
opensocial.ResponseItem.Error.BAD_REQUEST
The request was invalid.
|
| <static> |
opensocial.ResponseItem.Error.FORBIDDEN
The gadget can never have access to the requested data.
|
| <static> |
opensocial.ResponseItem.Error.INTERNAL_ERROR
The request encountered an unexpected condition that
prevented it from fulfilling the request.
|
| <static> |
opensocial.ResponseItem.Error.LIMIT_EXCEEDED
The gadget exceeded a quota on the request.
|
| <static> |
opensocial.ResponseItem.Error.NOT_IMPLEMENTED
This container does not support the request that was made.
|
| <static> |
opensocial.ResponseItem.Error.UNAUTHORIZED
The gadget does not have access to the requested data.
|
Field Detail
<static>
opensocial.ResponseItem.Error.BAD_REQUEST
The request was invalid. Example: 'max' was -1.
<static>
opensocial.ResponseItem.Error.FORBIDDEN
The gadget can never have access to the requested data.
<static>
opensocial.ResponseItem.Error.INTERNAL_ERROR
The request encountered an unexpected condition that
prevented it from fulfilling the request.
<static>
opensocial.ResponseItem.Error.LIMIT_EXCEEDED
The gadget exceeded a quota on the request. Example quotas include a
max number of calls per day, calls per user per day, calls within a
certain time period and so forth.
<static>
opensocial.ResponseItem.Error.NOT_IMPLEMENTED
This container does not support the request that was made.
<static>
opensocial.ResponseItem.Error.UNAUTHORIZED
The gadget does not have access to the requested data.
To get access, use
opensocial.requestPermission().