Class: ShopifyCLI::AppTypeDetector::InvalidTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/shopify_cli/app_type_detector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, project_type:) ⇒ InvalidTypeError

Returns a new instance of InvalidTypeError.



10
11
12
13
# File 'lib/shopify_cli/app_type_detector.rb', line 10

def initialize(message, project_type:)
  @project_type = project_type
  super(message)
end

Instance Attribute Details

#project_typeObject (readonly)

Returns the value of attribute project_type.



9
10
11
# File 'lib/shopify_cli/app_type_detector.rb', line 9

def project_type
  @project_type
end