Sha256: dc8d25ad76bf43de124ccd907878557c50a69aeb5b91daf9ece50045a8674a50

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stealth-2.0.0.beta4 lib/stealth/errors.rb