Class ErrorEvent


  • public final class ErrorEvent
    extends Event
    • Constructor Detail

      • ErrorEvent

        public ErrorEvent()
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns:
        error message
      • setMessage

        public void setMessage​(java.lang.String message)
        Parameters:
        message - error message
      • isCrash

        public boolean isCrash()
        Returns:
        true if the error has been captured by the crash reporter
      • setIsCrash

        public void setIsCrash​(boolean isCrash)
        Parameters:
        isCrash - true if the error has been captured by the crash reporter
      • getStackTrace

        public java.lang.String getStackTrace()
        Returns:
        stack trace
      • setStackTrace

        public void setStackTrace​(java.lang.String stackTrace)
        Parameters:
        stackTrace - stack trace
      • getBreadcrumbs

        public java.util.List<java.lang.String> getBreadcrumbs()
        Returns:
        bread crumbs
      • setBreadcrumbs

        public void setBreadcrumbs​(java.util.List<java.lang.String> breadcrumbs)
        Parameters:
        breadcrumbs - bread crumbs
      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getAttributes()
        Returns:
        custom attributes
      • setAttributes

        public void setAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes)
        Parameters:
        attributes - custom attributes