Java SDK: JNI bindings to libquicproquo_ffi with QpqClient class, Gradle build, and exception hierarchy matching Kotlin SDK. Ruby SDK: FFI gem wrapping libquicproquo_ffi with Client class, block-form auto-disconnect, gemspec for RubyGems publishing, and example script.
19 lines
411 B
Ruby
19 lines
411 B
Ruby
# frozen_string_literal: true
|
|
|
|
module QuicProQuo
|
|
# Base error for quicproquo SDK.
|
|
class Error < StandardError; end
|
|
|
|
# OPAQUE authentication failed (bad credentials).
|
|
class AuthError < Error; end
|
|
|
|
# Operation timed out.
|
|
class TimeoutError < Error; end
|
|
|
|
# Client is not connected.
|
|
class NotConnectedError < Error; end
|
|
|
|
# Connection to the server failed.
|
|
class ConnectionError < Error; end
|
|
end
|