Exception: RailsReactSSR::BundleError

Inherits:
Error
  • Object
show all
Defined in:
lib/rails_react_ssr/errors.rb

Overview

Bundle errors

Direct Known Subclasses

ExecutionError, MissingBundleError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bundle, *args) ⇒ BundleError

Returns a new instance of BundleError.



10
11
12
13
14
# File 'lib/rails_react_ssr/errors.rb', line 10

def initialize(bundle, *args)
  super *args

  @bundle = bundle
end

Instance Attribute Details

#bundleObject (readonly)

Returns the value of attribute bundle.



8
9
10
# File 'lib/rails_react_ssr/errors.rb', line 8

def bundle
  @bundle
end