Package akka.http.scaladsl.model
Class ErrorInfo$
- java.lang.Object
-
- akka.http.scaladsl.model.ErrorInfo$
-
- All Implemented Interfaces:
java.io.Serializable
public class ErrorInfo$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ErrorInfo$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ErrorInfo$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorInfo
apply(java.lang.String summary, java.lang.String detail)
INTERNAL APIErrorInfo
fromCompoundString(java.lang.String message)
Allows constructing anErrorInfo
from a single string.scala.Option<scala.Tuple2<java.lang.String,java.lang.String>>
unapply(ErrorInfo arg)
-
-
-
Field Detail
-
MODULE$
public static final ErrorInfo$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public ErrorInfo apply(java.lang.String summary, java.lang.String detail)
INTERNAL API
-
unapply
public scala.Option<scala.Tuple2<java.lang.String,java.lang.String>> unapply(ErrorInfo arg)
-
fromCompoundString
public ErrorInfo fromCompoundString(java.lang.String message)
Allows constructing anErrorInfo
from a single string. Used for example when catching exceptions generated by the header value parser, which doesn't provide summary/details information but structures its exception messages accordingly.- Parameters:
message
- (undocumented)- Returns:
- (undocumented)
-
-