Exception: Humidifier::Stack::UploadNotConfiguredError

Inherits:
Error
  • Object
show all
Defined in:
lib/humidifier/stack.rb

Instance Method Summary collapse

Constructor Details

#initialize(identifier) ⇒ UploadNotConfiguredError

Returns a new instance of UploadNotConfiguredError.



24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/humidifier/stack.rb', line 24

def initialize(identifier)
  super("    The \#{identifier} stack's body is too large to be use the\n    template_body option, and therefore must use the template_url option\n    instead. You can configure Humidifier to do this automatically by\n    setting up the s3 config on the top-level Humidifier object like so:\n\n        Humidifier.configure do |config|\n          config.s3_bucket = 'my.s3.bucket'\n          config.s3_prefix = 'my-prefix/' # optional\n        end\n  MSG\nend\n")