Sha256: 0f6b6fdb806cea431dfbe4a2b5c2ffb9c7fa295bfaf9c8c0f88294fa19fe53ba
Contents?: true
Size: 1006 Bytes
Versions: 4
Compression:
Stored size: 1006 Bytes
Contents
# frozen_string_literal: true module LoggableActivity # Error class for loggable activity. class Error < StandardError def initialize(msg = '') puts '---------------- LOGGABLE ACTIVITY -----------------' puts msg puts '----------------------------------------------------' super(msg) end end # Error class for encryption. class EncryptionError < StandardError def initialize(msg = '') puts '---------------- LOGGABLE ACTIVITY -----------------' puts msg puts '----------------------------------------------------' super(msg) end end # This class is used to load the configuration file located at config/loggable_activity.yml class ConfigurationError < StandardError def initialize(msg = '') # https://api.loggable_activity.com/msg puts '---------------- LOGGABLE ACTIVITY -----------------' puts msg puts '----------------------------------------------------' super(msg) end end end
Version data entries
4 entries across 4 versions & 1 rubygems