Package 

Enum LongTaskEvent.ErrorReason

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum LongTaskEvent.ErrorReason
    extends Enum<LongTaskEvent.ErrorReason>
                        

    The reason the Profiler encountered an error. This attribute is only present if the status is error.

    Possible values:

    • not-supported-by-browser: The browser does not support the Profiler (i.e., window.Profiler is not available).

    • failed-to-lazy-load: The Profiler script failed to be loaded by the browser (may be a connection issue or the chunk was not found).

    • missing-document-policy-header: The Profiler failed to start because its missing Document-Policy: js-profiling HTTP response header.

    • unexpected-exception: An exception occurred when starting the Profiler.