Sha256: 7386e192809421450b0ada3f1282923547348a669f8664f65de96ec42a80aa94
Contents?: true
Size: 749 Bytes
Versions: 4
Compression:
Stored size: 749 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Support class Cache module Exceptions class NotSupportedBackend < ::ConvenientService::Exception ## # @param backend [Symbol] # @return [void] # def initialize(backend:) message = <<~TEXT Backend `#{backend}` is NOT supported. Supported backends are #{printable_backends}. TEXT super(message) end private ## # @return [String] # def printable_backends Constants::Backends::ALL.map { |backend| "`:#{backend}`" }.join(", ") end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems