Sha256: 50a878ce45b025dbe1e7ab4c374e4eca52296fa5c352740e95661c163f1b8380
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
# encoding: utf-8 # # This file is part of the mbrao gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>. # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit. # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mbrao-1.6.2 | lib/mbrao/exceptions.rb |
mbrao-1.6.1 | lib/mbrao/exceptions.rb |