public interface

DetailedInvocationError

implements DetailedInvocationResult
com.atlassian.bitbucket.webhook.history.DetailedInvocationError

Class Overview

Represents a detailed description of the local error that prevented the invocation's HTTP request from being sent or its response from being processed e.g. a NullPointerException in code, a DNS lookup failure while trying to send to a webhook recipient host, a socket connection error, socket timeout etc

Summary

Public Methods
@Nonnull String getContent()
@Nonnull String getErrorMessage()
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.webhook.history.InvocationResult

Public Methods

@Nonnull public String getContent ()

Returns
  • any additional content of the error that may be useful, e.g. a stack trace

@Nonnull public String getErrorMessage ()

Returns
  • the error message of the underlying exception