@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
40 lines (39 loc) • 1.08 kB
TypeScript
import ErrorRetryHint from './ErrorRetryHint';
/**
* @export
* @class EncodingErrorDefinition
*/
export declare class EncodingErrorDefinition {
/**
* The error code.
* @type {number}
* @memberof EncodingErrorDefinition
*/
code?: number;
/**
* The error category.
* @type {string}
* @memberof EncodingErrorDefinition
*/
category?: string;
/**
* The error message, optional. Can include placeholders like {1}, {2} which are replaced with the respective dependency when the error is thrown.
* @type {string}
* @memberof EncodingErrorDefinition
*/
message?: string;
/**
* The returned error description.
* @type {string}
* @memberof EncodingErrorDefinition
*/
description?: string;
/**
* Indicates if the call that caused the error should be retried.
* @type {ErrorRetryHint}
* @memberof EncodingErrorDefinition
*/
retryHint?: ErrorRetryHint;
constructor(obj?: Partial<EncodingErrorDefinition>);
}
export default EncodingErrorDefinition;