diff --git a/smithy4playTest/app/controller/models/TestError.scala b/smithy4playTest/app/controller/models/TestError.scala index 657e9e03..d4c454ec 100644 --- a/smithy4playTest/app/controller/models/TestError.scala +++ b/smithy4playTest/app/controller/models/TestError.scala @@ -1,13 +1,13 @@ package controller.models -import de.innfactory.smithy4play.{ContextRouteError, Status} -import play.api.libs.json.{JsValue, Json} +import de.innfactory.smithy4play.{ ContextRouteError, Status } +import play.api.libs.json.{ JsValue, Json } case class TestError( - message: String, - status: Status = Status(Map.empty, 500) - ) extends ContextRouteError { - override def toJson: JsValue = Json.toJson(this)(TestError.format) + message: String, + status: Status = Status(Map.empty, 500) +) extends ContextRouteError { + override def toJson: JsValue = Json.toJson(this)(TestError.format) override def addHeaders(headers: Map[String, String]): TestError = this.copy( status = status.copy( headers = status.headers ++ headers