Class: Types::ErrorTracking::SentryErrorStackTraceEntryType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb

Overview

rubocop: disable Graphql/AuthorizeTypes

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#colObject



30
31
32
# File 'app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb', line 30

def col
  object['colNo']
end

#file_nameObject



38
39
40
# File 'app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb', line 38

def file_name
  object['filename']
end

#functionObject



26
27
28
# File 'app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb', line 26

def function
  object['function']
end

#lineObject



34
35
36
# File 'app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb', line 34

def line
  object['lineNo']
end

#trace_contextObject



42
43
44
# File 'app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb', line 42

def trace_context
  object['context']
end