Sha256: b1aa85d2bf053c47de082a5608bb19b70b81589f2612d201c8c4605406fe5a8c
Contents?: true
Size: 481 Bytes
Versions: 19
Compression:
Stored size: 481 Bytes
Contents
module Cms::Fortress::Error def self.log_error(name, message) Rails.logger.fatal("[ERROR:] in #{name} with message: #{message}\n\n") end class MissingRoleConfigFile < StandardError def initialize Cms::Fortress::Error.log_error(self, "missing the roles.yml file in config/roles.yml") end end class MissingSettingsFile < StandardError def initialize Cms::Fortress::Error.log_error(self, "missing cms-fortress settings file") end end end
Version data entries
19 entries across 19 versions & 1 rubygems