class Error
Defined at line 580 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
Public Methods
void Error ()
void Error (const Error & )
Defined at line 597 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
Error & operator= (const Error & )
Defined at line 598 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
void Error (Error && )
Defined at line 599 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
Error & operator= (Error && )
Defined at line 600 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
bool IsUnknown ()
Defined at line 618 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
bool has_invalid_tag ()
bool is_target_error ()
Error WithTargetError (int32_t val)
An error produced by interacting with the handle itself.
int32_t & target_error ()
An error produced by interacting with the handle itself.
const int32_t & target_error ()
An error produced by interacting with the handle itself.
bool is_bad_handle_id ()
Error WithBadHandleId (::fuchsia_fdomain::wire::BadHandleId val)
An invalid handle ID was given.
::fuchsia_fdomain::wire::BadHandleId & bad_handle_id ()
An invalid handle ID was given.
const ::fuchsia_fdomain::wire::BadHandleId & bad_handle_id ()
An invalid handle ID was given.
bool is_new_handle_id_out_of_range ()
Error WithNewHandleIdOutOfRange (::fuchsia_fdomain::wire::NewHandleIdOutOfRange val)
We passed a `NewHandleId` that contained an ID with a 1 in the most
significant bit.
::fuchsia_fdomain::wire::NewHandleIdOutOfRange & new_handle_id_out_of_range ()
We passed a `NewHandleId` that contained an ID with a 1 in the most
significant bit.
const ::fuchsia_fdomain::wire::NewHandleIdOutOfRange & new_handle_id_out_of_range ()
We passed a `NewHandleId` that contained an ID with a 1 in the most
significant bit.
bool is_new_handle_id_reused ()
Error WithNewHandleIdReused (::fidl::ObjectView< ::fuchsia_fdomain::wire::NewHandleIdReused> val)
We passed a `NewHandleId` that collides with an already-allocated handle.
template <typename... Args>
Error WithNewHandleIdReused (::fidl::AnyArena & allocator, Args &&... args)
We passed a `NewHandleId` that collides with an already-allocated handle.
Defined at line 667 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
::fuchsia_fdomain::wire::NewHandleIdReused & new_handle_id_reused ()
We passed a `NewHandleId` that collides with an already-allocated handle.
const ::fuchsia_fdomain::wire::NewHandleIdReused & new_handle_id_reused ()
We passed a `NewHandleId` that collides with an already-allocated handle.
bool is_wrong_handle_type ()
Error WithWrongHandleType (::fidl::ObjectView< ::fuchsia_fdomain::wire::WrongHandleType> val)
The handle used is not of the right type for the operation requested.
template <typename... Args>
Error WithWrongHandleType (::fidl::AnyArena & allocator, Args &&... args)
The handle used is not of the right type for the operation requested.
Defined at line 685 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h
::fuchsia_fdomain::wire::WrongHandleType & wrong_handle_type ()
The handle used is not of the right type for the operation requested.
const ::fuchsia_fdomain::wire::WrongHandleType & wrong_handle_type ()
The handle used is not of the right type for the operation requested.
bool is_streaming_read_in_progress ()
Error WithStreamingReadInProgress (::fuchsia_fdomain::wire::StreamingReadInProgress val)
Occurs when we try to start streaming reading twice on the same handle,
or try to directly read from a handle which we are already
streaming reading from.
::fuchsia_fdomain::wire::StreamingReadInProgress & streaming_read_in_progress ()
Occurs when we try to start streaming reading twice on the same handle,
or try to directly read from a handle which we are already
streaming reading from.
const ::fuchsia_fdomain::wire::StreamingReadInProgress & streaming_read_in_progress ()
Occurs when we try to start streaming reading twice on the same handle,
or try to directly read from a handle which we are already
streaming reading from.
bool is_no_read_in_progress ()
Error WithNoReadInProgress (::fuchsia_fdomain::wire::NoReadInProgress val)
We tried to stop streaming reading on a handle we weren't streaming reads
from to begin with.
::fuchsia_fdomain::wire::NoReadInProgress & no_read_in_progress ()
We tried to stop streaming reading on a handle we weren't streaming reads
from to begin with.
const ::fuchsia_fdomain::wire::NoReadInProgress & no_read_in_progress ()
We tried to stop streaming reading on a handle we weren't streaming reads
from to begin with.
bool is_wrote_to_self ()
Error WithWroteToSelf (::fuchsia_fdomain::wire::WroteToSelf val)
We tried to write a channel into itself.
::fuchsia_fdomain::wire::WroteToSelf & wrote_to_self ()
We tried to write a channel into itself.
const ::fuchsia_fdomain::wire::WroteToSelf & wrote_to_self ()
We tried to write a channel into itself.
bool is_closed_during_read ()
Error WithClosedDuringRead (::fuchsia_fdomain::wire::ClosedDuringRead val)
We received a request to close or transfer a handle while we were waiting
to read from it.
::fuchsia_fdomain::wire::ClosedDuringRead & closed_during_read ()
We received a request to close or transfer a handle while we were waiting
to read from it.
const ::fuchsia_fdomain::wire::ClosedDuringRead & closed_during_read ()
We received a request to close or transfer a handle while we were waiting
to read from it.
bool is_signals_unknown ()
Error WithSignalsUnknown (::fuchsia_fdomain::wire::SignalsUnknown val)
The flexible features of this protocol allowed the client to send us
signals that we didn't actually understand, and we couldn't proceed
safely without knowing what they were. The signals field should contain
only the signals that weren't understood.
::fuchsia_fdomain::wire::SignalsUnknown & signals_unknown ()
The flexible features of this protocol allowed the client to send us
signals that we didn't actually understand, and we couldn't proceed
safely without knowing what they were. The signals field should contain
only the signals that weren't understood.
const ::fuchsia_fdomain::wire::SignalsUnknown & signals_unknown ()
The flexible features of this protocol allowed the client to send us
signals that we didn't actually understand, and we couldn't proceed
safely without knowing what they were. The signals field should contain
only the signals that weren't understood.
bool is_rights_unknown ()
Error WithRightsUnknown (::fuchsia_fdomain::wire::RightsUnknown val)
The flexible features of this protocol allowed the client to send us
rights that we didn't actually understand, and we couldn't proceed safely
without knowing what they were. The rights field should contain only the
rights that weren't understood.
::fuchsia_fdomain::wire::RightsUnknown & rights_unknown ()
The flexible features of this protocol allowed the client to send us
rights that we didn't actually understand, and we couldn't proceed safely
without knowing what they were. The rights field should contain only the
rights that weren't understood.
const ::fuchsia_fdomain::wire::RightsUnknown & rights_unknown ()
The flexible features of this protocol allowed the client to send us
rights that we didn't actually understand, and we couldn't proceed safely
without knowing what they were. The rights field should contain only the
rights that weren't understood.
bool is_socket_disposition_unknown ()
Error WithSocketDispositionUnknown (::fuchsia_fdomain::wire::SocketDispositionUnknown val)
The client used a socket disposition that the FDomain did not recognize.
::fuchsia_fdomain::wire::SocketDispositionUnknown & socket_disposition_unknown ()
The client used a socket disposition that the FDomain did not recognize.
const ::fuchsia_fdomain::wire::SocketDispositionUnknown & socket_disposition_unknown ()
The client used a socket disposition that the FDomain did not recognize.
bool is_socket_type_unknown ()
Error WithSocketTypeUnknown (::fuchsia_fdomain::wire::SocketTypeUnknown val)
The client used a socket type that the FDomain did not recognize.
::fuchsia_fdomain::wire::SocketTypeUnknown & socket_type_unknown ()
The client used a socket type that the FDomain did not recognize.
const ::fuchsia_fdomain::wire::SocketTypeUnknown & socket_type_unknown ()
The client used a socket type that the FDomain did not recognize.
::fuchsia_fdomain::wire::Error::Tag Which ()
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kTargetError | 1 |
0x1 |
| kBadHandleId | 2 |
0x2 |
| kNewHandleIdOutOfRange | 3 |
0x3 |
| kNewHandleIdReused | 4 |
0x4 |
| kWrongHandleType | 5 |
0x5 |
| kStreamingReadInProgress | 6 |
0x6 |
| kNoReadInProgress | 7 |
0x7 |
| kWroteToSelf | 8 |
0x8 |
| kClosedDuringRead | 9 |
0x9 |
| kSignalsUnknown | 10 |
0xa |
| kRightsUnknown | 11 |
0xb |
| kSocketDispositionUnknown | 12 |
0xc |
| kSocketTypeUnknown | 13 |
0xd |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 602 of file fidling/gen/sdk/fidl/fuchsia.fdomain/fuchsia.fdomain/cpp/fidl/fuchsia.fdomain/cpp/wire_types.h