UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

95 lines (90 loc) 2.49 kB
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; /** * a stacktrace in a processed and prettyfied way * */ class Stacktrace { /** * Create a Stacktrace. * @property {string} [title] * @property {string} [reason] * @property {array} [threads] * @property {object} [exception] * @property {string} [exception.reason] Reason of the exception * @property {string} [exception.type] Type of the exception * (NSSomethingException, NullPointerException) * @property {array} [exception.frames] frames of the excetpion * @property {boolean} [exception.relevant] relevant exception (crashed) * @property {array} [exception.innerExceptions] * @property {string} [exception.platform] SDK/Platform this thread is beeing * generated from. Possible values include: 'ios', 'android', 'xamarin', * 'react-native', 'ndk', 'unity', 'other' */ constructor() { } /** * Defines the metadata of Stacktrace * * @returns {object} metadata of Stacktrace * */ mapper() { return { required: false, serializedName: 'Stacktrace', type: { name: 'Composite', className: 'Stacktrace', modelProperties: { title: { required: false, serializedName: 'title', type: { name: 'String' } }, reason: { required: false, serializedName: 'reason', type: { name: 'String' } }, threads: { required: false, serializedName: 'threads', type: { name: 'Sequence', element: { required: false, serializedName: 'ThreadElementType', type: { name: 'Composite', className: 'Thread' } } } }, exception: { required: false, serializedName: 'exception', type: { name: 'Composite', className: 'Exception' } } } } }; } } module.exports = Stacktrace;