Module io.helidon.media.common
Package io.helidon.media.common
Interface MessageBodyContext.ErrorEvent
-
- All Superinterfaces:
MessageBodyContext.Event
- Enclosing class:
- MessageBodyContext
public static interface MessageBodyContext.ErrorEvent extends MessageBodyContext.Event
A subscription event emitted forMessageBodyContext.EventType.BEFORE_ONERROR
orMessageBodyContext.EventType.AFTER_ONERROR
that carries the received error.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
error()
Get the subscription error of this event.-
Methods inherited from interface io.helidon.media.common.MessageBodyContext.Event
asErrorEvent, entityType, eventType
-
-
-
-
Method Detail
-
error
Throwable error()
Get the subscription error of this event.- Returns:
Throwable
, nevernull
-
-