Exception: Gitlab::Webpack::Manifest::WebpackError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gitlab/webpack/manifest.rb

Overview

Raised if webpack couldn’t build one of your entry points

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ WebpackError

Returns a new instance of WebpackError.



15
16
17
# File 'lib/gitlab/webpack/manifest.rb', line 15

def initialize(errors)
  super "Error in webpack compile, details follow below:\n#{errors.join("\n\n")}"
end