Exception: WebResourceBundler::Exceptions::WebResourceBundlerError

Inherits:
Exception
  • Object
show all
Defined in:
lib/web_resource_bundler/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = "Unknown error occured") ⇒ WebResourceBundlerError

Returns a new instance of WebResourceBundlerError.



4
5
6
# File 'lib/web_resource_bundler/exceptions.rb', line 4

def initialize(message = "Unknown error occured")
  @message = message
end

Instance Method Details

#to_sObject



8
# File 'lib/web_resource_bundler/exceptions.rb', line 8

def to_s; @message; end