Class NpmFailure_1_0

java.lang.Object
com.gradle.scan.eventmodel.npm.NpmFailure_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@NpmVersion(since="10.8.2") @NpmAgentVersion(since="1.0.0") public class NpmFailure_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
An EventData that is published when a failure occurs during the build.

Zero or more NpmFailure_1_0 events may be published.

  • Field Details

    • id

      public final long id
      The ID of the error.
    • processId

      @Nullable("when error occurred in the npm process") public final @Nullable("when error occurred in the npm process") Long processId
      The id of the process where the error occurred.
      See Also:
    • message

      public final String message
      The error message.
    • stackLines

      @Nullable("when the stack trace is not available") public final @Nullable("when the stack trace is not available") List<String> stackLines
      The error stack trace.
  • Constructor Details

    • NpmFailure_1_0

      public NpmFailure_1_0(long id, @Nullable @Nullable Long processId, String message, @Nullable @Nullable List<String> stackLines)
  • Method Details