File

src/client/stackdriver/status-message.ts

Implements

Index

Properties

Constructor

constructor(refersTo: stackdriver.Reference, description: string, isError: boolean)

Status Message to be sent to the server

Parameters :
Name Type Optional
refersTo stackdriver.Reference No
description string No
isError boolean No

Properties

Static Readonly BREAKPOINT_AGE
Type : stackdriver.Reference
Default value : 'BREAKPOINT_AGE'
Static Readonly BREAKPOINT_CONDITION
Type : stackdriver.Reference
Default value : 'BREAKPOINT_CONDITION'
Static Readonly BREAKPOINT_EXPRESSION
Type : stackdriver.Reference
Default value : 'BREAKPOINT_EXPRESSION'
Static Readonly BREAKPOINT_SOURCE_LOCATION
Type : stackdriver.Reference
Default value : 'BREAKPOINT_SOURCE_LOCATION'
description
Type : stackdriver.FormatMessage
isError
Type : boolean
refersTo
Type : stackdriver.Reference
Static Readonly UNSPECIFIED
Type : stackdriver.Reference
Default value : 'UNSPECIFIED'
Static Readonly VARIABLE_NAME
Type : stackdriver.Reference
Default value : 'VARIABLE_NAME'
Static Readonly VARIABLE_VALUE
Type : stackdriver.Reference
Default value : 'VARIABLE_VALUE'
import * as stackdriver from '../../types/stackdriver';

export class StatusMessage implements stackdriver.StatusMessage {
  refersTo: stackdriver.Reference;
  description: stackdriver.FormatMessage;
  isError: boolean;

  /**
   * Status Message to be sent to the server
   * @constructor
   */
  constructor(
    refersTo: stackdriver.Reference,
    description: string,
    isError: boolean
  ) {
    this.refersTo = refersTo;
    this.description = {format: description};
    this.isError = isError;
  }

  // These status messages come from a proto definition.
  // New status messages cannot be added here.
  static readonly UNSPECIFIED: stackdriver.Reference = 'UNSPECIFIED';
  static readonly BREAKPOINT_SOURCE_LOCATION: stackdriver.Reference =
    'BREAKPOINT_SOURCE_LOCATION';
  static readonly BREAKPOINT_CONDITION: stackdriver.Reference =
    'BREAKPOINT_CONDITION';
  static readonly BREAKPOINT_EXPRESSION: stackdriver.Reference =
    'BREAKPOINT_EXPRESSION';
  static readonly VARIABLE_NAME: stackdriver.Reference = 'VARIABLE_NAME';
  static readonly VARIABLE_VALUE: stackdriver.Reference = 'VARIABLE_VALUE';
  static readonly BREAKPOINT_AGE: stackdriver.Reference = 'BREAKPOINT_AGE';
}

result-matching ""

    No results matching ""