Sha256: 7979e83444a3fc4c6c8ed23fc0f444cad2f37a140a49309e90b0150a961f00b2

Contents?: true

Size: 995 Bytes

Versions: 1

Compression:

Stored size: 995 Bytes

Contents

# A structured message object. Used to return errors from requests.
class DAP::Message < DAP::Base
  # Unique identifier for the message.
  property :id, as: 'number'

  # A format string for the message. Embedded variables have the form '{name}'.
  # If variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes.
  property :format, as: 'string'

  # An object used as a dictionary for looking up the variables in the format string.
  property :variables, required: false

  # If true send to telemetry.
  property :sendTelemetry, required: false, as: 'boolean'

  # If true show user.
  property :showUser, required: false, as: 'boolean'

  # An optional url where additional information about this message can be found.
  property :url, required: false, as: 'string'

  # An optional label that is presented to the user as the UI for opening the url.
  property :urlLabel, required: false, as: 'string'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-dap-0.1.3 lib/dap/message.rb