Sha256: 564b01934c4129e0efc8d2cf46f70bd9a72bdb80853f8d13ec3ef8f9d39ffd5b

Contents?: true

Size: 1022 Bytes

Versions: 3

Compression:

Stored size: 1022 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

module Stealth
  class Errors < StandardError

    class ConfigurationError < Errors
    end

    class ReplyFormatNotSupported < Errors
    end

    class ServiceImpaired < Errors
    end

    class ServiceError < Errors
    end

    class ServiceNotRecognized < Errors
    end

    class ControllerRoutingNotImplemented < Errors
    end

    class UndefinedVariable < Errors
    end

    class RedisNotConfigured < Errors
    end

    class InvalidStateTransition < Errors
    end

    class ReplyNotFound < Errors
    end

    class UnrecognizedMessage < Errors
    end

    class FlowError < Errors
    end

    class FlowDefinitionError < Errors
    end

    # Service errors
    class InvalidSessionID < Errors
    end

    class UserOptOut < Errors
    end

    class MessageFiltered < Errors
    end

    class UnknownServiceError < Errors
    end

    # Homophone errors
    class ReservedHomophoneUsed < Errors
    end

    class Halted < Errors
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stealth-2.0.0.beta7 lib/stealth/errors.rb
stealth-2.0.0.beta6 lib/stealth/errors.rb
stealth-2.0.0.beta5 lib/stealth/errors.rb