microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.74 kB
Source Map (JSON)
{"version":3,"sources":["src/sdk/CancellationErrorCodes.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oBAAY,qBAAqB;IAC7B;;OAEG;IACH,OAAO,IAAA;IAEP;;OAEG;IACH,qBAAqB,IAAA;IAErB;;OAEG;IACH,oBAAoB,IAAA;IAEpB;;;OAGG;IACH,eAAe,IAAA;IAEf;;OAEG;IACH,iBAAiB,IAAA;IAEjB;;OAEG;IACH,cAAc,IAAA;IAEd;;OAEG;IACH,YAAY,IAAA;IAEZ;;OAEG;IACH,YAAY,IAAA;IAEZ;;OAEG;IACH,SAAS,IAAA;CACZ","file":"CancellationErrorCodes.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n\r\n/**\r\n * Defines error code in case that CancellationReason is Error.\r\n * Added in version 1.1.0.\r\n */\r\nexport enum CancellationErrorCode {\r\n /**\r\n * Indicates that no error occurred during speech recognition.\r\n */\r\n NoError,\r\n\r\n /**\r\n * Indicates an authentication error.\r\n */\r\n AuthenticationFailure,\r\n\r\n /**\r\n * Indicates that one or more recognition parameters are invalid.\r\n */\r\n BadRequestParameters,\r\n\r\n /**\r\n * Indicates that the number of parallel requests exceeded the number of allowed\r\n * concurrent transcriptions for the subscription.\r\n */\r\n TooManyRequests,\r\n\r\n /**\r\n * Indicates a connection error.\r\n */\r\n ConnectionFailure,\r\n\r\n /**\r\n * Indicates a time-out error when waiting for response from service.\r\n */\r\n ServiceTimeout,\r\n\r\n /**\r\n * Indicates that an error is returned by the service.\r\n */\r\n ServiceError,\r\n\r\n /**\r\n * Indicates an unexpected runtime error.\r\n */\r\n RuntimeError,\r\n\r\n /**\r\n * Indicates an quota overrun on existing key.\r\n */\r\n Forbidden,\r\n}\r\n"]}