Sha256: 55963c2fd4c2bb25abcfce75f8fa68e7a447c2da8fd652bd3c03edfc630d0675
Contents?: true
Size: 1.06 KB
Versions: 5
Compression:
Stored size: 1.06 KB
Contents
require 'riak/errors/base' module Riak class ConnectionError < Error end class TlsError < ConnectionError class SslVersionConfigurationError < TlsError def initialize super t('ssl.version_configuration_error') end end class CertHostMismatchError < TlsError def initialize super t('ssl.cert_host_mismatch') end end class CertNotValidError < TlsError def initialize super t('ssl.cert_not_valid') end end class CertRevokedError < TlsError def initialize super t('ssl.cert_revoked') end end class ReadDataError < TlsError def initialize(actual, candidate) super t('ssl.read_data_error', actual: actual, candidate: candidate) end end class UnknownKeyTypeError < TlsError def initialize super t('ssl.unknown_key_type') end end end class UserConfigurationError < ConnectionError def initialize super t('pbc.user_not_username') end end end
Version data entries
5 entries across 5 versions & 1 rubygems