Sha256: 53faacfc738342d31def1fc58e629d8f1530c0b07093877593b449a540e60d0d

Contents?: true

Size: 508 Bytes

Versions: 14

Compression:

Stored size: 508 Bytes

Contents

module SplitIoClient
  class SplitIoError < StandardError; end

  class SDKShutdownException < Exception; end

  class SDKBlockerTimeoutExpiredException < SplitIoError; end

  class SSEClientException < SplitIoError
    attr_reader :event

    def initialize(event)
      @event = event
    end
  end

  class ApiException < SplitIoError
    def initialize(msg, exception_code)
      @@exception_code = exception_code
      super(msg)
    end
    def exception_code
      @@exception_code
    end
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
splitclient-rb-8.4.0-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.4.0 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.4.0.pre.rc1-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.4.0.pre.rc1 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.4.0.rc.1-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.4.0.rc.1 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.2.pre.rc2-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.2.pre.rc2 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.2.pre.rc1-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.2.pre.rc1 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.1-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.1 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.1.pre.rc1-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.1.pre.rc1 lib/splitclient-rb/exceptions.rb