package it.com.atlassian.stash.rules;

import java.lang.annotation.*;

/**
 * Documents a method or class which should ignore JavaScript errors from the browser
 *
 * @see JavaScriptErrorRule
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface IgnoreJavaScriptErrors {
    /**
     * @return a message explaining why JavaScript errors are being ignored
     */
    String value();
}
