#include <error.h>
◆ Error() [1/2]
google_calendar_api::Error::Error |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ Error() [2/2]
google_calendar_api::Error::Error |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~Error()
google_calendar_api::Error::~Error |
( |
| ) |
|
|
virtual |
◆ clear_domain()
void google_calendar_api::Error::clear_domain |
( |
| ) |
|
|
inline |
Clears the 'domain
' attribute.
◆ clear_reason()
void google_calendar_api::Error::clear_reason |
( |
| ) |
|
|
inline |
Clears the 'reason
' attribute.
◆ get_domain()
const StringPiece google_calendar_api::Error::get_domain |
( |
| ) |
const |
|
inline |
Get the value of the 'domain
' attribute.
◆ get_reason()
const StringPiece google_calendar_api::Error::get_reason |
( |
| ) |
const |
|
inline |
Get the value of the 'reason
' attribute.
◆ GetTypeName()
const StringPiece google_calendar_api::Error::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_domain()
bool google_calendar_api::Error::has_domain |
( |
| ) |
const |
|
inline |
Determine if the 'domain
' attribute was set.
- Returns
- true if the '
domain
' attribute was set.
◆ has_reason()
bool google_calendar_api::Error::has_reason |
( |
| ) |
const |
|
inline |
Determine if the 'reason
' attribute was set.
- Returns
- true if the '
reason
' attribute was set.
◆ New()
Error * google_calendar_api::Error::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_domain()
void google_calendar_api::Error::set_domain |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'domain
' attribute.
Domain, or broad category, of the error.
- Parameters
-
◆ set_reason()
void google_calendar_api::Error::set_reason |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'reason
' attribute.
Specific reason for the error. Some of the possible values are:
- "groupTooBig"
- The group of users requested is too large for a single query.
- "tooManyCalendarsRequested"
- The number of calendars requested is too large for a single query.
- "notFound"
- The requested resource was not found.
- "internalError"
- The API service has encountered an internal error.
Additional error types may be added in the future, so clients should gracefully handle additional error statuses not included in this list.
- Parameters
-
The documentation for this class was generated from the following files:
- google/calendar_api/error.h
- google/calendar_api/error.cc