io.tracee.contextlogger.api.ErrorMessage Maven / Gradle / Ivy
package io.tracee.contextlogger.api;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to define an error String that will be outputted to the logs if an error is detected in a method.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD })
@Documented
public @interface ErrorMessage {
String value() default "";
}