Method: Pod::DSLError#initialize

Defined in:
lib/cocoapods-core/standard_error.rb

#initialize(description, dsl_path, underlying_exception, contents = nil) ⇒ DSLError

Returns a new instance of DSLError.

Parameters:

  • underlying_exception (Exception)

    @see underlying_exception

  • dsl_path (String)

    @see dsl_path

[View source]

28
29
30
31
32
33
# File 'lib/cocoapods-core/standard_error.rb', line 28

def initialize(description, dsl_path, underlying_exception, contents = nil)
  @description          = description
  @dsl_path             = dsl_path
  @underlying_exception = underlying_exception
  @contents             = contents
end