@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.52 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;CACf","file":"CancellationErrorCodes.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n/**\n * Defines error code in case that CancellationReason is Error.\n * Added in version 1.1.0.\n */\nexport enum CancellationErrorCode {\n /**\n * Indicates that no error occurred during speech recognition.\n */\n NoError,\n\n /**\n * Indicates an authentication error.\n */\n AuthenticationFailure,\n\n /**\n * Indicates that one or more recognition parameters are invalid.\n */\n BadRequestParameters,\n\n /**\n * Indicates that the number of parallel requests exceeded the number of allowed\n * concurrent transcriptions for the subscription.\n */\n TooManyRequests,\n\n /**\n * Indicates a connection error.\n */\n ConnectionFailure,\n\n /**\n * Indicates a time-out error when waiting for response from service.\n */\n ServiceTimeout,\n\n /**\n * Indicates that an error is returned by the service.\n */\n ServiceError,\n\n /**\n * Indicates an unexpected runtime error.\n */\n RuntimeError,\n}\n"]}