Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

227 B
Raw Blame
# frozen_string_literal: true

class CustomExceptions::Base < StandardError
  def to_hash
    {
      message: message
    }
  end

  def http_status
    403
  end

  def initialize(data)
    @data = data
    super()
  end
end