Sha256: 6da63e859c5e63816f84cc7588a38a2a68869f204f61d8ee76974be9eb5909b3
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
# encoding: utf-8 # # This file is part of the mbrao gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # module Mbrao # The exceptions raised by mbrao. module Exceptions # Exception raised when metadata are not valid. class InvalidMetadata < RuntimeError end # Exception raised when a date is valid. class InvalidDate < RuntimeError end # Exception raised when there is a parsing error. class Parsing < RuntimeError end # Exception raised when there is a rendering error. class Rendering < RuntimeError end # Exception raised when a requested object is not available in any of the desired locales. class UnavailableLocalization < RuntimeError end # Exception raised when a invalid parsing or rendering engine is requested. class UnknownEngine < RuntimeError end # Exception raised when a requested method must be overridden by a subclass. class Unimplemented < RuntimeError end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mbrao-1.2.0 | lib/mbrao/exceptions.rb |