Exception: AbideDevUtils::Errors::BenchmarkLoadError

Inherits:
GenericError
  • Object
show all
Defined in:
lib/abide_dev_utils/errors/sce.rb

Overview

Raised when a benchmark fails to load for a non-specific reason

Instance Attribute Summary collapse

Attributes inherited from GenericError

#subject

Instance Method Summary collapse

Methods inherited from GenericError

#initialize

Constructor Details

This class inherits a constructor from AbideDevUtils::Errors::GenericError

Instance Attribute Details

#frameworkObject

Returns the value of attribute framework.



34
35
36
# File 'lib/abide_dev_utils/errors/sce.rb', line 34

def framework
  @framework
end

#major_versionObject

Returns the value of attribute major_version.



34
35
36
# File 'lib/abide_dev_utils/errors/sce.rb', line 34

def major_version
  @major_version
end

#module_nameObject

Returns the value of attribute module_name.



34
35
36
# File 'lib/abide_dev_utils/errors/sce.rb', line 34

def module_name
  @module_name
end

#original_errorObject

Returns the value of attribute original_error.



34
35
36
# File 'lib/abide_dev_utils/errors/sce.rb', line 34

def original_error
  @original_error
end

#osnameObject

Returns the value of attribute osname.



34
35
36
# File 'lib/abide_dev_utils/errors/sce.rb', line 34

def osname
  @osname
end

Instance Method Details

#messageObject



38
39
40
41
42
43
44
45
46
# File 'lib/abide_dev_utils/errors/sce.rb', line 38

def message
  [
    "#{super} (#{original_error.class})",
    "Framework: #{framework}",
    "OS Name: #{osname}",
    "OS Version: #{major_version}",
    "Module Name: #{module_name}"
  ].join(', ')
end