Sha256: 53f1ef7c13afd5578b1905b44031e0f0a5b555299a3701e575ac9b82e89a78f6

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

module Howareya
  class MissingMetricError < StandardError
    def initialize(msg="It looks like you havent registered a metric at Howareya")
      super
    end
  end

  class BadAPIKeyError < StandardError
    def initialize(msg="It looks like you're using an invalid api key for Howareya")
      super
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
howareya-0.1.2 lib/howareya/errors.rb
howareya-0.1.1 lib/howareya/errors.rb