Sha256: e77e715508aa8bdaeeb7f3adad1cbeeecbbfcce78d834ec788e32da6411043c2
Contents?: true
Size: 884 Bytes
Versions: 106
Compression:
Stored size: 884 Bytes
Contents
# frozen_string_literal: true # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv> module RubyRabbitmqJanus module Errors # Define errors to message sending and response to janus module Janus # Define a super class for all error in Janus::Message class BaseMessageStandard < BaseMessage def initialize(message, level = :fatal) super "[Standard] #{message}", level end end module MessageStandard # Error for Janus::MessageStandard#initialize class Initializer < BaseMessageStandard def initialize super 'Error in initializer' end end # Error for Janus::MessageStandard#option class Option < BaseMessageStandard def initialize super 'Return properties message admin failed' end end end end end end
Version data entries
106 entries across 106 versions & 1 rubygems