Method: Pod::Specification::Linter#errors

Defined in:
lib/cocoapods-core/specification/linter.rb

#errorsArray<Result>

Returns all the errors generated by the Linter.

Returns:

  • (Array<Result>)

    all the errors generated by the Linter.



69
70
71
# File 'lib/cocoapods-core/specification/linter.rb', line 69

def errors
  @errors ||= results.select { |r| r.type == :error }
end