class RubyLambda::Error

Attributes

exception_message[R]

Public Class Methods

new(message, exception_message: nil) click to toggle source
Calls superclass method
# File lib/ruby_lambda/error.rb, line 5
def initialize(message, exception_message: nil)
  # Call the parent's constructor to set the message
  super(message)

  # Store the exception_message in an instance variable
  @exception_message = exception_message
end