Skip to content

Commit

Permalink
chore: scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeQuadrat committed Oct 11, 2023
1 parent cafb402 commit 72de9d6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions smithy4playTest/app/controller/models/TestError.scala
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 72de9d6

Please sign in to comment.