# frozen_string_literal: true # Incase you need to throw an error related to steppy class SteppyError < StandardError attr_reader :steppy def initialize(steppy = nil) if steppy @steppy = steppy message = steppy.is_a?(String) ? steppy : steppy.to_json end super(message) end end