Sha256: dc39bba06d5c3693061e4594a23dd62c05c9a19728de51767075abea14f06511

Contents?: true

Size: 511 Bytes

Versions: 8

Compression:

Stored size: 511 Bytes

Contents

module SplitIoClient
  class SplitIoError < StandardError; end

  class SDKShutdownException < SplitIoError; 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

8 entries across 8 versions & 1 rubygems

Version Path
splitclient-rb-8.3.0-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0.pre.rc3-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0.pre.rc3 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0.pre.rc2-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0.pre.rc2 lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0.pre.rc1-java lib/splitclient-rb/exceptions.rb
splitclient-rb-8.3.0.pre.rc1 lib/splitclient-rb/exceptions.rb