Class TranspilationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.javascript.jscomp.bundle.TranspilationException
All Implemented Interfaces:
Serializable

public class TranspilationException extends RuntimeException
An unchecked exception thrown when transpilation fails due to one or more errors in the input script.
See Also:
  • Constructor Details

    • TranspilationException

      public TranspilationException(Exception cause)
    • TranspilationException

      public TranspilationException(SourceExcerptProvider source, com.google.common.collect.ImmutableList<JSError> errors, com.google.common.collect.ImmutableList<JSError> warnings)
  • Method Details

    • errors

      public com.google.common.collect.ImmutableList<JSError> errors()
    • warnings

      public com.google.common.collect.ImmutableList<JSError> warnings()