class Gm::Notepad::ExceededTimeToLiveError

Attributes

text_when_time_to_live_exceeded[R]

Public Class Methods

new(text:, time_to_live:, text_when_time_to_live_exceeded:) click to toggle source
Calls superclass method
# File lib/gm/notepad/exceptions.rb, line 26
def initialize(text:, time_to_live:, text_when_time_to_live_exceeded:)
  @text_when_time_to_live_exceeded = text_when_time_to_live_exceeded
  super(%(Expanding the given text "#{text}" exceed the time to live of #{time_to_live}))
end