Merged PR 8904: adding common error codes
adding common error codes
This commit is contained in:
Родитель
8836d8ef22
Коммит
3675a8c052
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "powerbi-models",
|
||||
"version": "1.0.10",
|
||||
"version": "1.0.11",
|
||||
"description": "Contains JavaScript & TypeScript object models for Microsoft Power BI JavaScript SDK. For each model there is a TypeScript interface, and a validation function to ensure and object is valid.",
|
||||
"main": "dist/models.js",
|
||||
"typings": "dist/models.d.ts",
|
||||
|
|
|
@ -755,6 +755,15 @@ export enum BookmarksPlayMode {
|
|||
Presentation,
|
||||
}
|
||||
|
||||
export enum CommonErrorCodes {
|
||||
TokenExpired = 'TokenExpired',
|
||||
NotFound = 'PowerBIEntityNotFound',
|
||||
InvalidParameters = 'Invalid parameters',
|
||||
LoadReportFailed = 'LoadReportFailed',
|
||||
NotAuthorized = 'PowerBINotAuthorizedException',
|
||||
FailedToLoadModel = 'ExplorationContainer_FailedToLoadModel_DefaultDetails',
|
||||
}
|
||||
|
||||
export interface IQnaInterpretInputData {
|
||||
question: string;
|
||||
datasetIds?: string[];
|
||||
|
|
Загрузка…
Ссылка в новой задаче