class Olib::Errors::ContainerFull

If you have a full container and a script/action depends on it, this is thrown rescue it for logic

Public Class Methods

new(message=nil) click to toggle source
Calls superclass method
# File lib/Olib/core/errors.rb, line 40
def initialize(message=nil)
  unless message
    message = String.new
    message.concat "\n\nYou tried to add stuff to a container that was full"
    message.concat "\nyou should rescue this error if it isn't fatal and you don't want your script to break"
  end
  super Errors.indent message
end