blob: b5e43381217cdd59294a8581048cd0356ccf125a [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#pragma once
#include <lib/fidl/cpp/wire/internal/transport.h>
#include <lib/fidl/cpp/wire/unknown_interactions.h>
namespace test_errorsyntax {
class ExampleUseOfErrorSyntax final {
ExampleUseOfErrorSyntax() = delete;
public:
using Transport = ::fidl::internal::ChannelTransport;
static constexpr ::fidl::internal::Openness kOpenness = ::fidl::internal::Openness::kClosed;
class ComposedCallWhichMayFail final {
ComposedCallWhichMayFail() = delete;
public:
using Protocol = ::test_errorsyntax::ExampleUseOfErrorSyntax;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
class CallWhichMayFail final {
CallWhichMayFail() = delete;
public:
using Protocol = ::test_errorsyntax::ExampleUseOfErrorSyntax;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = true;
static constexpr bool kHasFrameworkError = false;
};
};
} // namespace test_errorsyntax
namespace fidl {
template <>
struct IsProtocol<::test_errorsyntax::ExampleUseOfErrorSyntax> : public std::true_type {};
} // namespace fidl