1 package com.atlassian.webdriver.debug;
2
3 /**
4 * Abstraction of an error message we have retrieved from the browser.
5 * @see JavaScriptErrorRetriever
6 * @since 2.3
7 */
8 public interface JavaScriptErrorInfo
9 {
10 /**
11 * Returns the full error line as it should be displayed.
12 */
13 String getDescription();
14
15 /**
16 * Returns only the message portion of the error (for comparison to errorsToIgnore).
17 */
18 String getMessage();
19 }