Sha256: f53ff9f2cbad2ee211a6794fda5137eee29fbc6603043f4224c39d53fc21c2bd
Contents?: true
Size: 432 Bytes
Versions: 31
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true module Uffizzi RESPONSE_SERVER_ERROR_HEADER = "Server Error:\n" CLI_ERROR_HEADER = "CLI Error:\n" class Error < Thor::Error; end class ServerResponseError < Thor::Error def initialize(message) super("#{RESPONSE_SERVER_ERROR_HEADER}#{message}") end end class CliError < Thor::Error def initialize(message) super("#{CLI_ERROR_HEADER}#{message}") end end end
Version data entries
31 entries across 31 versions & 1 rubygems