AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
ExceptionErrorType.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
19 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_EXCEPTIONERRORTYPE_H_
20 #define ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_EXCEPTIONERRORTYPE_H_
21 
22 #include <iostream>
23 
24 namespace alexaClientSDK {
25 namespace avsCommon {
26 namespace avs {
27 
28 enum class ExceptionErrorType {
38 };
39 
40 inline std::ostream& operator<<(std::ostream& stream, ExceptionErrorType type) {
41  switch (type) {
43  stream << "UNEXPECTED_INFORMATION_RECEIVED";
44  break;
46  stream << "UNSUPPORTED_OPERATION";
47  break;
49  stream << "INTERNAL_ERROR";
50  break;
51  }
52  return stream;
53 }
54 
55 } // namespace avs
56 } // namespace avsCommon
57 } // namespace alexaClientSDK
58 
59 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_EXCEPTIONERRORTYPE_H_
ExceptionErrorType
Definition: ExceptionErrorType.h:28
The operation specified by the namespace/name in the directive&#39;s header are not supported by the clie...
std::ostream & operator<<(std::ostream &stream, AlexaResponseType responseType)
Definition: AlexaResponseType.h:93
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
The directive sent to your client was malformed or the payload does not conform to the directive spec...
type
Definition: upload.py:443

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0