1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2018 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api
21 
22 import akka.actor.typed.scaladsl.AskPattern.schedulerFromActorSystem
23 import akka.actor.typed.{ActorRef, SpawnProtocol}
24 import akka.http.scaladsl.model._
25 import akka.http.scaladsl.server._
26 import akka.util.Timeout
27 import buildinfo.BuildInfo
28 import com.typesafe.config.Config
29 import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport
30 import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport.DecodingFailures
31 import enumeratum.NoSuchMember
32 import grizzled.slf4j.Logging
33 import io.circe.CursorOp.DownField
34 import io.circe.syntax._
35 import org.make.api.crmTemplates._
36 import org.make.api.demographics._
37 import org.make.api.extensions._
38 import org.make.api.feature._
39 import org.make.api.idea._
40 import org.make.api.keyword.{DefaultKeywordServiceComponent, DefaultPersistentKeywordServiceComponent}
41 import org.make.api.operation._
42 import org.make.api.organisation._
43 import org.make.api.partner.{
44   AdminPartnerApi,
45   DefaultAdminPartnerApiComponent,
46   DefaultPartnerServiceComponent,
47   DefaultPersistentPartnerServiceComponent
48 }
49 import org.make.api.personality._
50 import org.make.api.post.{DefaultPostSearchEngineComponent, DefaultPostServiceComponent}
51 import org.make.api.proposal._
52 import org.make.api.question._
53 import org.make.api.segment.DefaultSegmentServiceComponent
54 import org.make.api.sequence.SequenceConfigurationActor.SequenceConfigurationActorProtocol
55 import org.make.api.sequence._
56 import org.make.api.sessionhistory.{
57   ConcurrentModification,
58   DefaultSessionHistoryCoordinatorServiceComponent,
59   SessionHistoryCommand,
60   SessionHistoryCoordinator,
61   SessionHistoryCoordinatorComponent
62 }
63 import org.make.api.tag._
64 import org.make.api.tagtype.{
65   DefaultModerationTagTypeApiComponent,
66   DefaultPersistentTagTypeServiceComponent,
67   DefaultTagTypeServiceComponent,
68   ModerationTagTypeApi
69 }
70 import org.make.api.technical.ActorSystemHelper._
71 import org.make.api.technical._
72 import org.make.api.technical.auth._
73 import org.make.api.technical.businessconfig.{ConfigurationsApi, DefaultConfigurationsApiComponent}
74 import org.make.api.technical.crm._
75 import org.make.api.technical.directives.ClientDirectives
76 import org.make.api.technical.elasticsearch.{
77   DefaultElasticSearchApiComponent,
78   DefaultElasticsearchClientComponent,
79   DefaultElasticsearchConfigurationComponent,
80   DefaultIndexationComponent,
81   ElasticSearchApi
82 }
83 import org.make.api.technical.generator.fixtures.{
84   DefaultFixturesApiComponent,
85   DefaultFixturesServiceComponent,
86   FixturesApi
87 }
88 import org.make.api.technical.graphql._
89 import org.make.api.technical.healthcheck._
90 import org.make.api.technical.job._
91 import org.make.api.technical.monitoring.DefaultMonitoringService
92 import org.make.api.technical.security.{
93   DefaultAESEncryptionComponent,
94   DefaultSecurityApiComponent,
95   DefaultSecurityConfigurationComponent,
96   SecurityApi
97 }
98 import org.make.api.technical.storage._
99 import org.make.api.technical.tracking.{DefaultTrackingApiComponent, TrackingApi}
100 import org.make.api.technical.webflow.{DefaultWebflowClientComponent, DefaultWebflowConfigurationComponent}
101 import org.make.api.user.UserExceptions.{EmailAlreadyRegisteredException, EmailNotAllowed}
102 import org.make.api.user._
103 import org.make.api.user.social._
104 import org.make.api.user.validation.DefaultUserRegistrationValidatorComponent
105 import org.make.api.userhistory.{
106   DefaultUserHistoryCoordinatorServiceComponent,
107   UserHistoryCommand,
108   UserHistoryCoordinator,
109   UserHistoryCoordinatorComponent
110 }
111 import org.make.api.views._
112 import org.make.api.widget._
113 import org.make.core.{AvroSerializers, DefaultDateHelperComponent, ValidationError, ValidationFailedError}
114 import scalaoauth2.provider._
115 
116 import scala.concurrent.Await
117 import scala.concurrent.duration.DurationInt
118 
119 trait MakeApi
120     extends ActorSystemComponent
121     with AvroSerializers
122     with BuildInfoRoutes
123     with ClientDirectives
124     with DefaultActiveFeatureServiceComponent
125     with DefaultAdminActiveFeatureApiComponent
126     with DefaultAdminClientApiComponent
127     with DefaultAdminCrmLanguageTemplatesApiComponent
128     with DefaultAdminCrmQuestionTemplatesApiComponent
129     with DefaultAdminDemographicsCardApiComponent
130     with DefaultAdminFeatureApiComponent
131     with DefaultAdminModeratorApiComponent
132     with DefaultAdminDialogueModeratorApiComponent
133     with DefaultAdminOperationApiComponent
134     with DefaultAdminOperationOfQuestionApiComponent
135     with DefaultAdminPartnerApiComponent
136     with DefaultAdminPersonalityApiComponent
137     with DefaultAdminPersonalityRoleApiComponent
138     with DefaultAdminProposalApiComponent
139     with DefaultAdminQuestionPersonalityApiComponent
140     with DefaultAdminSourceApiComponent
141     with DefaultAdminUserApiComponent
142     with DefaultModerationUserApiComponent
143     with DefaultAdminWidgetApiComponent
144     with DefaultAESEncryptionComponent
145     with DefaultAuthenticationApiComponent
146     with DefaultClientServiceComponent
147     with DefaultConfigComponent
148     with DefaultMaxPropositionsThresholdsComponent
149     with DefaultConfigurationsApiComponent
150     with DefaultCrmApiComponent
151     with DefaultCrmClientComponent
152     with DefaultCrmServiceComponent
153     with DefaultCrmTemplatesServiceComponent
154     with DefaultDateHelperComponent
155     with DefaultDemographicsCardServiceComponent
156     with DefaultDownloadServiceComponent
157     with DefaultElasticSearchApiComponent
158     with DefaultElasticsearchClientComponent
159     with DefaultElasticsearchConfigurationComponent
160     with DefaultEventBusServiceComponent
161     with DefaultFacebookApiComponent
162     with DefaultFeatureServiceComponent
163     with DefaultFixturesApiComponent
164     with DefaultFixturesServiceComponent
165     with DefaultGoogleApiComponent
166     with DefaultGraphQLApiComponent
167     with DefaultGraphQLRuntimeComponent
168     with DefaultGraphQLAuthorServiceComponent
169     with DefaultGraphQLIdeaServiceComponent
170     with DefaultGraphQLOrganisationServiceComponent
171     with DefaultGraphQLQuestionServiceComponent
172     with DefaultGraphQLTagServiceComponent
173     with DefaultHomeViewServiceComponent
174     with DefaultHealthCheckApiComponent
175     with DefaultHealthCheckServiceComponent
176     with DefaultIdGeneratorComponent
177     with DefaultIdeaSearchEngineComponent
178     with DefaultIdeaServiceComponent
179     with DefaultIndexationComponent
180     with DefaultJobApiComponent
181     with DefaultJobCoordinatorServiceComponent
182     with DefaultKafkaConfigurationComponent
183     with DefaultKeywordServiceComponent
184     with DefaultMailJetConfigurationComponent
185     with DefaultMailJetTemplateConfigurationComponent
186     with DefaultMakeDataHandlerComponent
187     with DefaultMakeSettingsComponent
188     with DefaultMigrationApiComponent
189     with DefaultModerationIdeaApiComponent
190     with DefaultModerationOperationOfQuestionApiComponent
191     with DefaultModerationOrganisationApiComponent
192     with DefaultModerationProposalApiComponent
193     with DefaultModerationQuestionComponent
194     with DefaultAdminSequenceApiComponent
195     with DefaultModerationTagApiComponent
196     with DefaultModerationTagTypeApiComponent
197     with DefaultMonitoringService
198     with DefaultOauthTokenGeneratorComponent
199     with DefaultOpenIDConnectApiComponent
200     with DefaultOperationOfQuestionSearchEngineComponent
201     with DefaultOperationOfQuestionServiceComponent
202     with DefaultOperationServiceComponent
203     with DefaultOrganisationApiComponent
204     with DefaultOrganisationSearchEngineComponent
205     with DefaultOrganisationServiceComponent
206     with DefaultPartnerServiceComponent
207     with DefaultPersistentActiveFeatureServiceComponent
208     with DefaultPersistentAuthCodeServiceComponent
209     with DefaultPersistentClientServiceComponent
210     with DefaultPersistentCrmLanguageTemplateServiceComponent
211     with DefaultPersistentCrmQuestionTemplateServiceComponent
212     with DefaultPersistentCrmSynchroUserServiceComponent
213     with DefaultPersistentCrmUserServiceComponent
214     with DefaultPersistentDemographicsCardServiceComponent
215     with DefaultPersistentFeatureServiceComponent
216     with DefaultPersistentIdeaServiceComponent
217     with DefaultPersistentKeywordServiceComponent
218     with DefaultPersistentOperationOfQuestionServiceComponent
219     with DefaultPersistentOperationServiceComponent
220     with DefaultPersistentPartnerServiceComponent
221     with DefaultPersistentPersonalityRoleServiceComponent
222     with DefaultPersistentPersonalityRoleFieldServiceComponent
223     with DefaultPersistentQuestionPersonalityServiceComponent
224     with DefaultPersistentQuestionServiceComponent
225     with DefaultPersistentSequenceConfigurationServiceComponent
226     with DefaultPersistentSourceServiceComponent
227     with DefaultPersistentTagServiceComponent
228     with DefaultPersistentTagTypeServiceComponent
229     with DefaultPersistentTokenServiceComponent
230     with DefaultPersistentUserServiceComponent
231     with DefaultPersistentUserProposalsServiceComponent
232     with DefaultPersistentWidgetServiceComponent
233     with DefaultPostSearchEngineComponent
234     with DefaultPostServiceComponent
235     with DefaultQuestionPersonalityServiceComponent
236     with DefaultPersonalityApiComponent
237     with DefaultPersonalityRoleServiceComponent
238     with DefaultPersonalityRoleFieldServiceComponent
239     with DefaultProposalApiComponent
240     with DefaultProposalCoordinatorServiceComponent
241     with DefaultProposalIndexerServiceComponent
242     with DefaultProposalSearchEngineComponent
243     with DefaultProposalServiceComponent
244     with DefaultQuestionApiComponent
245     with DefaultQuestionServiceComponent
246     with DefaultReadJournalComponent
247     with DefaultSecurityApiComponent
248     with DefaultSecurityConfigurationComponent
249     with DefaultSegmentServiceComponent
250     with DefaultSendMailPublisherServiceComponent
251     with DefaultSequenceApiComponent
252     with DefaultSequenceCacheConfigurationComponent
253     with DefaultSequenceCacheManagerServiceComponent
254     with DefaultSequenceConfigurationComponent
255     with DefaultSequenceServiceComponent
256     with DefaultSessionHistoryCoordinatorServiceComponent
257     with DefaultSocialProvidersConfigurationComponent
258     with DefaultSocialServiceComponent
259     with DefaultSourceServiceComponent
260     with DefaultSpawnActorServiceComponent
261     with DefaultStorageConfigurationComponent
262     with DefaultStorageServiceComponent
263     with DefaultSwiftClientComponent
264     with DefaultTagApiComponent
265     with DefaultTagServiceComponent
266     with DefaultTagTypeServiceComponent
267     with DefaultTokenGeneratorComponent
268     with DefaultTrackingApiComponent
269     with DefaultUserProposalsServiceComponent
270     with DefaultUserApiComponent
271     with DefaultUserHistoryCoordinatorServiceComponent
272     with DefaultUserRegistrationValidatorComponent
273     with DefaultUserServiceComponent
274     with DefaultUserTokenGeneratorComponent
275     with DefaultViewApiComponent
276     with DefaultWidgetServiceComponent
277     with DefaultWebflowClientComponent
278     with DefaultWebflowConfigurationComponent
279     with JobCoordinatorComponent
280     with MakeAuthentication
281     with MakeDBExecutionContextComponent
282     with ProposalCoordinatorComponent
283     with SequenceCacheManagerComponent
284     with SequenceConfigurationActorComponent
285     with SessionHistoryCoordinatorComponent
286     with SpawnActorRefComponent
287     with UserHistoryCoordinatorComponent
288     with Logging {
289 
290   implicit val timeout: Timeout = TimeSettings.defaultTimeout
291 
292   override lazy val proposalCoordinator: ActorRef[ProposalCommand] =
293     Await.result(actorSystem.findRefByKey(ProposalCoordinator.Key), atMost = 10.seconds)
294 
295   override lazy val userHistoryCoordinator: ActorRef[UserHistoryCommand] =
296     Await.result(actorSystem.findRefByKey(UserHistoryCoordinator.Key), atMost = 10.seconds)
297 
298   override lazy val sessionHistoryCoordinator: ActorRef[SessionHistoryCommand] =
299     Await.result(actorSystem.findRefByKey(SessionHistoryCoordinator.Key), atMost = 10.seconds)
300 
301   override lazy val jobCoordinator: ActorRef[JobActor.Protocol.Command] = Await.result({
302     actorSystem.findRefByKey(JobCoordinator.Key)
303   }, atMost = 5.seconds)
304 
305   override lazy val spawnActorRef: ActorRef[SpawnProtocol.Command] = Await.result({
306     actorSystem.findRefByKey(MakeGuardian.SpawnActorKey)
307   }, atMost = 5.seconds)
308 
309   override lazy val sequenceCacheManager: ActorRef[SequenceCacheManager.Protocol] = Await.result({
310     actorSystem.findRefByKey(SequenceCacheManager.SequenceCacheActorKey)
311   }, atMost = 5.seconds)
312 
313   override lazy val sequenceConfigurationActor: ActorRef[SequenceConfigurationActorProtocol] = Await.result({
314     actorSystem.findRefByKey(SequenceConfigurationActor.SequenceConfigurationCacheActorKey)
315   }, atMost = 5.seconds)
316 
317   override lazy val readExecutionContext: EC = DatabaseConfigurationExtension(actorSystem).readThreadPool
318   override lazy val writeExecutionContext: EC = DatabaseConfigurationExtension(actorSystem).writeThreadPool
319 
320   override lazy val tokenEndpoint: TokenEndpoint = new TokenEndpoint {
321 
322     private val password: Password = new Password {
323       override val clientCredentialRequired = false
324     }
325 
326     private val reconnect: Reconnect = new Reconnect {
327       override val clientCredentialRequired = false
328     }
329 
330     override val handlers: Map[String, GrantHandler] =
331       Map[String, GrantHandler](
332         OAuthGrantType.AUTHORIZATION_CODE -> new AuthorizationCode,
333         OAuthGrantType.CLIENT_CREDENTIALS -> new ClientCredentials,
334         OAuthGrantType.PASSWORD -> password,
335         OAuthGrantType.REFRESH_TOKEN -> new RefreshToken,
336         Reconnect.RECONNECT_TOKEN -> reconnect
337       )
338   }
339   private lazy val swagger: Route =
340     path("api") {
341       host(s".*${makeSettings.techSwaggerAllowedHost}.*".r) { _ =>
342         parameters("url".?) {
343           case None => redirect(Uri("/api?url=/api-docs/swagger.json"), StatusCodes.PermanentRedirect)
344           case _    => getFromResource(s"META-INF/resources/webjars/swagger-ui/${BuildInfo.swaggerUiVersion}/index.html")
345         }
346       }
347     } ~ getFromResourceDirectory(s"META-INF/resources/webjars/swagger-ui/${BuildInfo.swaggerUiVersion}")
348 
349   private lazy val envDependentApiClasses: Set[Class[_]] =
350     makeSettings.environment match {
351       case "production" => Set.empty[Class[_]]
352       case _            => Set[Class[_]](classOf[FixturesApi])
353     }
354 
355   private lazy val apiClasses: Set[Class[_]] =
356     Set(
357       classOf[AdminActiveFeatureApi],
358       classOf[AdminClientApi],
359       classOf[AdminCrmLanguageTemplatesApi],
360       classOf[AdminCrmQuestionTemplatesApi],
361       classOf[AdminDemographicsCardApi],
362       classOf[AdminFeatureApi],
363       classOf[AdminModeratorApi],
364       classOf[AdminDialogueModeratorApi],
365       classOf[AdminOperationApi],
366       classOf[AdminOperationOfQuestionApi],
367       classOf[AdminPartnerApi],
368       classOf[AdminPersonalityApi],
369       classOf[AdminPersonalityRoleApi],
370       classOf[AdminQuestionPersonalityApi],
371       classOf[AdminProposalApi],
372       classOf[AdminSourceApi],
373       classOf[ModerationUserApi],
374       classOf[AdminUserApi],
375       classOf[AdminWidgetApi],
376       classOf[AuthenticationApi],
377       classOf[ConfigurationsApi],
378       classOf[CrmApi],
379       classOf[ElasticSearchApi],
380       classOf[HealthCheckApi],
381       classOf[JobApi],
382       classOf[MigrationApi],
383       classOf[ModerationIdeaApi],
384       classOf[ModerationOperationOfQuestionApi],
385       classOf[ModerationOrganisationApi],
386       classOf[ModerationProposalApi],
387       classOf[ModerationQuestionApi],
388       classOf[AdminSequenceApi],
389       classOf[ModerationTagApi],
390       classOf[ModerationTagTypeApi],
391       classOf[OrganisationApi],
392       classOf[PersonalityApi],
393       classOf[ProposalApi],
394       classOf[QuestionApi],
395       classOf[SecurityApi],
396       classOf[SequenceApi],
397       classOf[TagApi],
398       classOf[TrackingApi],
399       classOf[UserApi],
400       classOf[ViewApi]
401     ) ++ envDependentApiClasses
402 
403   private lazy val optionsCors: Route = options {
404     corsHeaders() {
405       complete(StatusCodes.OK)
406     }
407   }
408   private lazy val optionsAuthorized: Route =
409     options {
410       corsHeaders() {
411         complete(StatusCodes.OK)
412       }
413     }
414 
415   private lazy val documentation = new MakeDocumentation(apiClasses, makeSettings.Http.ssl).routes
416 
417   lazy val envDependantRoutes: Route =
418     makeSettings.environment match {
419       case "production" => swagger
420       case _            => swagger ~ fixturesApi.routes
421     }
422 
423   lazy val makeRoutes: Route =
424     documentation ~
425       optionsCors ~
426       optionsAuthorized ~
427       buildRoutes ~
428       envDependantRoutes ~
429       adminActiveFeatureApi.routes ~
430       adminClientApi.routes ~
431       adminCrmLanguageTemplatesApi.routes ~
432       adminCrmQuestionTemplatesApi.routes ~
433       adminDemographicsCardApi.routes ~
434       adminFeatureApi.routes ~
435       adminModeratorApi.routes ~
436       adminDialogueModeratorApi.routes ~
437       adminOperationApi.routes ~
438       adminOperationOfQuestionApi.routes ~
439       adminPartnerApi.routes ~
440       adminPersonalityApi.routes ~
441       adminPersonalityRoleApi.routes ~
442       adminProposalApi.routes ~
443       adminQuestionPersonalityApi.routes ~
444       adminSourceApi.routes ~
445       moderationUserApi.routes ~
446       adminUserApi.routes ~
447       adminWidgetApi.routes ~
448       authenticationApi.routes ~
449       configurationsApi.routes ~
450       crmApi.routes ~
451       elasticSearchApi.routes ~
452       graphQLApi.routes ~
453       healthCheckApi.routes ~
454       jobApi.routes ~
455       migrationApi.routes ~
456       moderationIdeaApi.routes ~
457       moderationOperationOfQuestionApi.routes ~
458       moderationOrganisationApi.routes ~
459       moderationProposalApi.routes ~
460       moderationQuestionApi.routes ~
461       adminSequenceApi.routes ~
462       moderationTagApi.routes ~
463       moderationTagTypeApi.routes ~
464       organisationApi.routes ~
465       personalityApi.routes ~
466       proposalApi.routes ~
467       questionApi.routes ~
468       securityApi.routes ~
469       sequenceApi.routes ~
470       tagApi.routes ~
471       trackingApi.routes ~
472       userApi.routes ~
473       viewApi.routes
474 }
475 
476 object MakeApi extends Logging with Directives with ErrorAccumulatingCirceSupport {
477 
478   def defaultError(id: String): String =
479     s"""
480       |{
481       |  "error": "an error occurred, it has been logged with id $id"
482       |}
483     """.stripMargin
484 
485   def exceptionHandler(routeName: String, requestId: String): ExceptionHandler = ExceptionHandler {
486     case e: EmailAlreadyRegisteredException =>
487       complete(StatusCodes.BadRequest -> Seq(ValidationError("email", "already_registered", Option(e.getMessage))))
488     case e: EmailNotAllowed =>
489       complete(StatusCodes.Forbidden -> Seq(ValidationError("email", "not_allowed_to_register", Option(e.getMessage))))
490     case e: SocialProviderException =>
491       complete(StatusCodes.BadRequest -> Seq(ValidationError("token", "invalid_token", Option(e.getMessage))))
492     case ValueNotFoundException(message) => complete(StatusCodes.NotFound -> message)
493     case ValidationFailedError(messages) =>
494       complete(
495         HttpResponse(
496           status = StatusCodes.BadRequest,
497           entity = HttpEntity(ContentTypes.`application/json`, messages.asJson.toString)
498         )
499       )
500     case e: OAuthError =>
501       complete(
502         StatusCodes.getForKey(e.statusCode).getOrElse(StatusCodes.Unauthorized) ->
503           ValidationError("authentication", e.errorType, Some(e.description))
504       )
505     case ConcurrentModification(message) => complete(StatusCodes.Conflict -> message)
506     case TokenAlreadyRefreshed(message)  => complete(StatusCodes.PreconditionFailed -> message)
507     case _: EntityStreamSizeException    => complete(StatusCodes.PayloadTooLarge)
508     case e =>
509       logger.error(s"Error on request $routeName with id $requestId", e)
510       complete(
511         HttpResponse(
512           status = StatusCodes.InternalServerError,
513           entity = HttpEntity(ContentTypes.`application/json`, MakeApi.defaultError(requestId))
514         )
515       )
516   }
517 
518   val rejectionHandler: RejectionHandler = RejectionHandler
519     .newBuilder()
520     .handle {
521       case MalformedRequestContentRejection(_, ValidationFailedError(messages)) =>
522         complete(StatusCodes.BadRequest -> messages)
523       case MalformedRequestContentRejection(_, DecodingFailures(failures)) =>
524         val errors: Seq[ValidationError] = failures.toList.map { failure =>
525           val path = failure.history.collect { case DownField(field) => field }.reverse.mkString(".")
526           failure.message match {
527             case "Missing required field" => ValidationError(path, "mandatory", Some(s"The field [.$path] is missing."))
528             case "Malformed email"        => ValidationError(path, "invalid_email", Some(failure.message))
529             case _                        => ValidationError(path, "malformed", Some(failure.message))
530           }
531         }
532         complete(StatusCodes.BadRequest -> errors)
533       case MalformedRequestContentRejection(_, e) =>
534         complete(StatusCodes.BadRequest -> Seq(ValidationError("unknown", "malformed", Option(e.getMessage))))
535       case MalformedQueryParamRejection(name, _, Some(e: NoSuchMember[_])) =>
536         complete(StatusCodes.BadRequest -> Seq(ValidationError(name, "malformed", Some(e.getMessage))))
537       case MalformedQueryParamRejection(name, msg, _) =>
538         complete(StatusCodes.BadRequest -> Seq(ValidationError(name, "invalid_value", Some(msg))))
539       case EmailNotVerifiedRejection =>
540         complete(
541           StatusCodes.Forbidden ->
542             Seq(ValidationError("unknown", "email_not_verified", Some("Your email must be verified first")))
543         )
544       case OidcAuthenticationNeededRejection(statusCode, config) => complete(statusCode -> config)
545       case GetParametersRejection =>
546         complete(
547           StatusCodes.BadRequest ->
548             Seq(ValidationError("x-get-parameters", "malformed", Some("x-get-parameters contains unwanted values")))
549         )
550     }
551     .result()
552     .withFallback(RejectionHandler.default)
553     .mapRejectionResponse { res =>
554       //TODO: change Content-Type to `application/json`
555       res
556     }
557 
558 }
559 
560 trait DefaultConfigComponent extends ConfigComponent {
561   self: ActorSystemComponent =>
562 
563   override def config: Config = actorSystem.settings.config
564 }
Line Stmt Id Pos Tree Symbol Tests Code
290 42825 11981 - 12008 Select org.make.api.technical.TimeSettings.defaultTimeout org.make.api.technical.TimeSettings.defaultTimeout
483 35247 18704 - 18816 Select scala.collection.StringOps.stripMargin scala.Predef.augmentString(("\n |{\n | \"error\": \"an error occurred, it has been logged with id ".+(id).+("\"\n |}\n "): String)).stripMargin
485 34050 18916 - 18916 Apply org.make.api.MakeApi.$anonfun.<init> org.make.api.technical.directives.clientdirectivestest new $anonfun()
485 47337 18899 - 20469 Apply akka.http.scaladsl.server.ExceptionHandler.apply org.make.api.technical.directives.clientdirectivestest akka.http.scaladsl.server.ExceptionHandler.apply(({ @SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,akka.http.scaladsl.server.Route] with java.io.Serializable { def <init>(): <$anon: Throwable => akka.http.scaladsl.server.Route> = { $anonfun.super.<init>(); () }; final override def applyOrElse[A1 <: Throwable, B1 >: akka.http.scaladsl.server.Route](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match { case (e @ (_: org.make.api.user.UserExceptions.EmailAlreadyRegisteredException)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (e @ (_: org.make.api.user.UserExceptions.EmailNotAllowed)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (e @ (_: org.make.api.user.social.SocialProviderException)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("token", "invalid_token", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (message: String): org.make.api.technical.ValueNotFoundException((message @ _)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])))) case (errors: Seq[org.make.core.ValidationError]): org.make.core.ValidationFailedError((messages @ _)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.HttpResponse]({ <artifact> val x$1: akka.http.scaladsl.model.StatusCodes.ClientError = akka.http.scaladsl.model.StatusCodes.BadRequest; <artifact> val x$2: akka.http.scaladsl.model.HttpEntity.Strict = akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, io.circe.syntax.`package`.EncoderOps[Seq[org.make.core.ValidationError]](messages).asJson(circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)).toString()); <artifact> val x$3: Seq[akka.http.scaladsl.model.HttpHeader] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.HttpResponse.apply$default$2; <artifact> val x$4: akka.http.scaladsl.model.HttpProtocol = akka.http.scaladsl.model.HttpResponse.apply$default$4; akka.http.scaladsl.model.HttpResponse.apply(x$1, x$3, x$2, x$4) })(marshalling.this.Marshaller.fromResponse)) case (e @ (_: scalaoauth2.provider.OAuthError)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.getForKey(e.statusCode).getOrElse[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.Unauthorized)).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("authentication", e.errorType, scala.Some.apply[String](e.description))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, MakeApi.this.marshaller$default$2[org.make.core.ValidationError])))) case (message: String): org.make.api.sessionhistory.ConcurrentModification((message @ _)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])))) case (refreshToken: String): org.make.api.technical.auth.TokenAlreadyRefreshed((message @ _)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PreconditionFailed).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])))) case (_: akka.http.scaladsl.model.EntityStreamSizeException) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PayloadTooLarge)(marshalling.this.Marshaller.fromStatusCode)) case (e @ _) => { MakeApi.this.logger.error(("Error on request ".+(routeName).+(" with id ").+(requestId): String), e); MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.HttpResponse]({ <artifact> val x$5: akka.http.scaladsl.model.StatusCodes.ServerError = akka.http.scaladsl.model.StatusCodes.InternalServerError; <artifact> val x$6: akka.http.scaladsl.model.HttpEntity.Strict = akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, MakeApi.defaultError(requestId)); <artifact> val x$7: Seq[akka.http.scaladsl.model.HttpHeader] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.HttpResponse.apply$default$2; <artifact> val x$8: akka.http.scaladsl.model.HttpProtocol = akka.http.scaladsl.model.HttpResponse.apply$default$4; akka.http.scaladsl.model.HttpResponse.apply(x$5, x$7, x$6, x$8) })(marshalling.this.Marshaller.fromResponse)) } case (defaultCase$ @ _) => default.apply(x1) }; final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match { case (e @ (_: org.make.api.user.UserExceptions.EmailAlreadyRegisteredException)) => true case (e @ (_: org.make.api.user.UserExceptions.EmailNotAllowed)) => true case (e @ (_: org.make.api.user.social.SocialProviderException)) => true case (message: String): org.make.api.technical.ValueNotFoundException((message @ _)) => true case (errors: Seq[org.make.core.ValidationError]): org.make.core.ValidationFailedError((messages @ _)) => true case (e @ (_: scalaoauth2.provider.OAuthError)) => true case (message: String): org.make.api.sessionhistory.ConcurrentModification((message @ _)) => true case (refreshToken: String): org.make.api.technical.auth.TokenAlreadyRefreshed((message @ _)) => true case (_: akka.http.scaladsl.model.EntityStreamSizeException) => true case (e @ _) => true case (defaultCase$ @ _) => false } }; new $anonfun() }: PartialFunction[Throwable,akka.http.scaladsl.server.Route]))
487 47768 19003 - 19003 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
487 42268 18980 - 19079 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage()))))
487 47430 19006 - 19079 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage())))
487 33365 19010 - 19078 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage()))
487 41245 19057 - 19077 Apply scala.Option.apply scala.Option.apply[String](e.getMessage())
487 48799 19003 - 19003 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
487 40180 19003 - 19003 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
487 47728 18980 - 19002 Select akka.http.scaladsl.model.StatusCodes.BadRequest akka.http.scaladsl.model.StatusCodes.BadRequest
487 33409 18980 - 19079 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
487 49352 19064 - 19076 Apply java.lang.Throwable.getMessage e.getMessage()
487 40141 19026 - 19033 Literal <nosymbol> "email"
487 36806 19003 - 19003 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
487 40999 19003 - 19003 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
487 35738 19035 - 19055 Literal <nosymbol> "already_registered"
487 34464 19003 - 19003 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
487 47473 18971 - 19080 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
489 47520 19181 - 19206 Literal <nosymbol> "not_allowed_to_register"
489 41772 19118 - 19231 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
489 32857 19149 - 19149 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
489 34956 19149 - 19149 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
489 35201 19172 - 19179 Literal <nosymbol> "email"
489 31795 19208 - 19228 Apply scala.Option.apply scala.Option.apply[String](e.getMessage())
489 47211 19149 - 19149 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
489 43329 19127 - 19148 Select akka.http.scaladsl.model.StatusCodes.Forbidden akka.http.scaladsl.model.StatusCodes.Forbidden
489 49301 19156 - 19229 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage()))
489 48272 19149 - 19149 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
489 40700 19215 - 19227 Apply java.lang.Throwable.getMessage e.getMessage()
489 41737 19152 - 19230 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage())))
489 33447 19127 - 19230 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage()))))
489 43364 19149 - 19149 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
489 49342 19127 - 19230 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
489 40741 19149 - 19149 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
491 41533 19309 - 19309 TypeApply scala.Predef.$conforms org.make.api.user.userapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
491 47511 19309 - 19309 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.user.userapitest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
491 32809 19277 - 19381 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.user.userapitest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("token", "invalid_token", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
491 33404 19309 - 19309 Select org.make.core.ValidationError.codec org.make.api.user.userapitest core.this.ValidationError.codec
491 35031 19309 - 19309 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.user.userapitest MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
491 46419 19309 - 19309 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.user.userapitest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
491 47256 19332 - 19339 Literal <nosymbol> org.make.api.user.userapitest "token"
491 32901 19312 - 19380 Apply scala.collection.SeqFactory.Delegate.apply org.make.api.user.userapitest scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("token", "invalid_token", scala.Option.apply[String](e.getMessage())))
491 39935 19286 - 19380 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.user.userapitest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("token", "invalid_token", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
491 38897 19309 - 19309 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.user.userapitest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
491 34994 19365 - 19377 Apply java.lang.Throwable.getMessage org.make.api.user.userapitest e.getMessage()
491 33361 19286 - 19308 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.user.userapitest akka.http.scaladsl.model.StatusCodes.BadRequest
491 39898 19316 - 19379 Apply org.make.core.ValidationError.apply org.make.api.user.userapitest org.make.core.ValidationError.apply("token", "invalid_token", scala.Option.apply[String](e.getMessage()))
491 49106 19286 - 19380 Apply scala.Predef.ArrowAssoc.-> org.make.api.user.userapitest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("token", "invalid_token", scala.Option.apply[String](e.getMessage()))))
491 42577 19341 - 19356 Literal <nosymbol> org.make.api.user.userapitest "invalid_token"
491 48304 19358 - 19378 Apply scala.Option.apply org.make.api.user.userapitest scala.Option.apply[String](e.getMessage())
492 39688 19426 - 19467 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String]))))
492 39355 19456 - 19456 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])
492 41565 19456 - 19456 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
492 49140 19435 - 19466 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound).->[String](message)
492 33146 19456 - 19456 Select io.circe.Encoder.encodeString circe.this.Encoder.encodeString
492 34788 19456 - 19456 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String]))
492 46454 19456 - 19456 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[String]
492 47554 19435 - 19466 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])))
494 32895 19518 - 19699 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.HttpResponse]({ <artifact> val x$1: akka.http.scaladsl.model.StatusCodes.ClientError = akka.http.scaladsl.model.StatusCodes.BadRequest; <artifact> val x$2: akka.http.scaladsl.model.HttpEntity.Strict = akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, io.circe.syntax.`package`.EncoderOps[Seq[org.make.core.ValidationError]](messages).asJson(circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)).toString()); <artifact> val x$3: Seq[akka.http.scaladsl.model.HttpHeader] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.HttpResponse.apply$default$2; <artifact> val x$4: akka.http.scaladsl.model.HttpProtocol = akka.http.scaladsl.model.HttpResponse.apply$default$4; akka.http.scaladsl.model.HttpResponse.apply(x$1, x$3, x$2, x$4) })(marshalling.this.Marshaller.fromResponse))
495 48612 19548 - 19548 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromResponse marshalling.this.Marshaller.fromResponse
495 35534 19536 - 19691 Apply akka.http.scaladsl.model.HttpResponse.apply akka.http.scaladsl.model.HttpResponse.apply(x$1, x$3, x$2, x$4)
495 46208 19536 - 19536 Select akka.http.scaladsl.model.HttpResponse.apply$default$2 akka.http.scaladsl.model.HttpResponse.apply$default$2
495 39727 19536 - 19691 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.HttpResponse]({ <artifact> val x$1: akka.http.scaladsl.model.StatusCodes.ClientError = akka.http.scaladsl.model.StatusCodes.BadRequest; <artifact> val x$2: akka.http.scaladsl.model.HttpEntity.Strict = akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, io.circe.syntax.`package`.EncoderOps[Seq[org.make.core.ValidationError]](messages).asJson(circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)).toString()); <artifact> val x$3: Seq[akka.http.scaladsl.model.HttpHeader] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.HttpResponse.apply$default$2; <artifact> val x$4: akka.http.scaladsl.model.HttpProtocol = akka.http.scaladsl.model.HttpResponse.apply$default$4; akka.http.scaladsl.model.HttpResponse.apply(x$1, x$3, x$2, x$4) })(marshalling.this.Marshaller.fromResponse)
495 39395 19536 - 19536 Select akka.http.scaladsl.model.HttpResponse.apply$default$4 akka.http.scaladsl.model.HttpResponse.apply$default$4
496 32854 19569 - 19591 Select akka.http.scaladsl.model.StatusCodes.BadRequest akka.http.scaladsl.model.StatusCodes.BadRequest
497 42089 19656 - 19680 Apply io.circe.Json.toString io.circe.syntax.`package`.EncoderOps[Seq[org.make.core.ValidationError]](messages).asJson(circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)).toString()
497 33188 19612 - 19681 Apply akka.http.scaladsl.model.HttpEntity.apply akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, io.circe.syntax.`package`.EncoderOps[Seq[org.make.core.ValidationError]](messages).asJson(circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)).toString())
497 44859 19623 - 19654 Select akka.http.scaladsl.model.ContentTypes.application/json akka.http.scaladsl.model.ContentTypes.application/json
501 47809 19732 - 19910 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.directives.clientdirectivestest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.getForKey(e.statusCode).getOrElse[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.Unauthorized)).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("authentication", e.errorType, scala.Some.apply[String](e.description))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, MakeApi.this.marshaller$default$2[org.make.core.ValidationError]))))
502 32633 19750 - 19902 Apply scala.Predef.ArrowAssoc.-> org.make.api.technical.directives.clientdirectivestest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.getForKey(e.statusCode).getOrElse[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.Unauthorized)).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("authentication", e.errorType, scala.Some.apply[String](e.description)))
502 34260 19750 - 19821 Apply scala.Option.getOrElse org.make.api.technical.directives.clientdirectivestest akka.http.scaladsl.model.StatusCodes.getForKey(e.statusCode).getOrElse[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.Unauthorized)
502 45926 19772 - 19784 Select scalaoauth2.provider.OAuthError.statusCode org.make.api.technical.directives.clientdirectivestest e.statusCode
502 39185 19822 - 19822 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.technical.directives.clientdirectivestest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, MakeApi.this.marshaller$default$2[org.make.core.ValidationError]))
502 41275 19822 - 19822 Select org.make.core.ValidationError.codec org.make.api.technical.directives.clientdirectivestest core.this.ValidationError.codec
502 41520 19796 - 19820 Select akka.http.scaladsl.model.StatusCodes.Unauthorized akka.http.scaladsl.model.StatusCodes.Unauthorized
502 47038 19822 - 19822 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.technical.directives.clientdirectivestest MakeApi.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, MakeApi.this.marshaller$default$2[org.make.core.ValidationError])
502 33697 19822 - 19822 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.directives.clientdirectivestest MakeApi.this.marshaller$default$2[org.make.core.ValidationError]
502 45967 19822 - 19822 TypeApply scala.Predef.$conforms org.make.api.technical.directives.clientdirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode]
502 31040 19750 - 19902 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.technical.directives.clientdirectivestest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.getForKey(e.statusCode).getOrElse[akka.http.scaladsl.model.StatusCode](akka.http.scaladsl.model.StatusCodes.Unauthorized)).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("authentication", e.errorType, scala.Some.apply[String](e.description))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, MakeApi.this.marshaller$default$2[org.make.core.ValidationError])))
503 39434 19869 - 19880 Select scalaoauth2.provider.OAuthError.errorType org.make.api.technical.directives.clientdirectivestest e.errorType
503 34747 19887 - 19900 Select scalaoauth2.provider.OAuthError.description org.make.api.technical.directives.clientdirectivestest e.description
503 48052 19882 - 19901 Apply scala.Some.apply org.make.api.technical.directives.clientdirectivestest scala.Some.apply[String](e.description)
503 46998 19851 - 19867 Literal <nosymbol> org.make.api.technical.directives.clientdirectivestest "authentication"
503 40789 19835 - 19902 Apply org.make.core.ValidationError.apply org.make.api.technical.directives.clientdirectivestest org.make.core.ValidationError.apply("authentication", e.errorType, scala.Some.apply[String](e.description))
505 30779 19955 - 19996 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String]))))
505 41316 19985 - 19985 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[String]
505 45156 19985 - 19985 Select io.circe.Encoder.encodeString circe.this.Encoder.encodeString
505 32673 19985 - 19985 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
505 39225 19964 - 19995 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])))
505 46202 19985 - 19985 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String]))
505 33734 19985 - 19985 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])
505 39682 19964 - 19995 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[String](message)
506 47848 20050 - 20091 Apply scala.Predef.ArrowAssoc.-> org.make.api.technical.makedirectivestest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PreconditionFailed).->[String](message)
506 46236 20050 - 20091 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.technical.makedirectivestest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PreconditionFailed).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])))
506 39142 20041 - 20092 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.makedirectivestest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, String)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PreconditionFailed).->[String](message))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String]))))
506 41080 20081 - 20081 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.technical.makedirectivestest MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])
506 39719 20081 - 20081 TypeApply scala.Predef.$conforms org.make.api.technical.makedirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
506 45200 20081 - 20081 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.makedirectivestest MakeApi.this.marshaller$default$2[String]
506 31832 20081 - 20081 Select io.circe.Encoder.encodeString org.make.api.technical.makedirectivestest circe.this.Encoder.encodeString
506 34254 20081 - 20081 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.technical.makedirectivestest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, String](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String]))
507 47885 20158 - 20158 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
507 30823 20146 - 20173 Select akka.http.scaladsl.model.StatusCodes.PayloadTooLarge akka.http.scaladsl.model.StatusCodes.PayloadTooLarge
507 31873 20137 - 20174 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PayloadTooLarge)(marshalling.this.Marshaller.fromStatusCode))
507 40781 20146 - 20173 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.PayloadTooLarge)(marshalling.this.Marshaller.fromStatusCode)
509 45675 20195 - 20261 Apply grizzled.slf4j.Logger.error MakeApi.this.logger.error(("Error on request ".+(routeName).+(" with id ").+(requestId): String), e)
510 38137 20268 - 20465 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.HttpResponse]({ <artifact> val x$5: akka.http.scaladsl.model.StatusCodes.ServerError = akka.http.scaladsl.model.StatusCodes.InternalServerError; <artifact> val x$6: akka.http.scaladsl.model.HttpEntity.Strict = akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, MakeApi.defaultError(requestId)); <artifact> val x$7: Seq[akka.http.scaladsl.model.HttpHeader] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.HttpResponse.apply$default$2; <artifact> val x$8: akka.http.scaladsl.model.HttpProtocol = akka.http.scaladsl.model.HttpResponse.apply$default$4; akka.http.scaladsl.model.HttpResponse.apply(x$5, x$7, x$6, x$8) })(marshalling.this.Marshaller.fromResponse))
511 45713 20286 - 20457 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.HttpResponse]({ <artifact> val x$5: akka.http.scaladsl.model.StatusCodes.ServerError = akka.http.scaladsl.model.StatusCodes.InternalServerError; <artifact> val x$6: akka.http.scaladsl.model.HttpEntity.Strict = akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, MakeApi.defaultError(requestId)); <artifact> val x$7: Seq[akka.http.scaladsl.model.HttpHeader] @scala.reflect.internal.annotations.uncheckedBounds = akka.http.scaladsl.model.HttpResponse.apply$default$2; <artifact> val x$8: akka.http.scaladsl.model.HttpProtocol = akka.http.scaladsl.model.HttpResponse.apply$default$4; akka.http.scaladsl.model.HttpResponse.apply(x$5, x$7, x$6, x$8) })(marshalling.this.Marshaller.fromResponse)
511 32937 20298 - 20298 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromResponse marshalling.this.Marshaller.fromResponse
511 31298 20286 - 20286 Select akka.http.scaladsl.model.HttpResponse.apply$default$2 akka.http.scaladsl.model.HttpResponse.apply$default$2
511 48404 20286 - 20286 Select akka.http.scaladsl.model.HttpResponse.apply$default$4 akka.http.scaladsl.model.HttpResponse.apply$default$4
511 40822 20286 - 20457 Apply akka.http.scaladsl.model.HttpResponse.apply akka.http.scaladsl.model.HttpResponse.apply(x$5, x$7, x$6, x$8)
512 37390 20319 - 20350 Select akka.http.scaladsl.model.StatusCodes.InternalServerError akka.http.scaladsl.model.StatusCodes.InternalServerError
513 47298 20415 - 20446 Apply org.make.api.MakeApi.defaultError MakeApi.defaultError(requestId)
513 39181 20371 - 20447 Apply akka.http.scaladsl.model.HttpEntity.apply akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, MakeApi.defaultError(requestId))
513 34290 20382 - 20413 Select akka.http.scaladsl.model.ContentTypes.application/json akka.http.scaladsl.model.ContentTypes.application/json
520 43463 20561 - 20561 Apply org.make.api.MakeApi.$anonfun.<init> org.make.api.technical.directives.clientdirectivestest new $anonfun()
522 44128 20686 - 20686 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
522 32429 20686 - 20686 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
522 37342 20686 - 20686 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
522 33469 20663 - 20697 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](messages))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
522 38938 20663 - 20697 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](messages)
522 31339 20686 - 20686 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
522 40571 20686 - 20686 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
522 47081 20654 - 20698 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](messages))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
522 45753 20686 - 20686 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
524 32930 20820 - 21341 Apply scala.collection.immutable.List.map failures.toList.map[org.make.core.ValidationError](((failure: io.circe.DecodingFailure) => { val path: String = failure.history.collect[String](({ @SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[io.circe.CursorOp,String] with java.io.Serializable { def <init>(): <$anon: io.circe.CursorOp => String> = { $anonfun.super.<init>(); () }; final override def applyOrElse[A1 <: io.circe.CursorOp, B1 >: String](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[io.circe.CursorOp]: io.circe.CursorOp): io.circe.CursorOp @unchecked) match { case (k: String): io.circe.CursorOp.DownField((field @ _)) => field case (defaultCase$ @ _) => default.apply(x1) }; final def isDefinedAt(x1: io.circe.CursorOp): Boolean = ((x1.asInstanceOf[io.circe.CursorOp]: io.circe.CursorOp): io.circe.CursorOp @unchecked) match { case (k: String): io.circe.CursorOp.DownField((field @ _)) => true case (defaultCase$ @ _) => false } }; new $anonfun() }: PartialFunction[io.circe.CursorOp,String])).reverse.mkString("."); failure.message match { case "Missing required field" => org.make.core.ValidationError.apply(path, "mandatory", scala.Some.apply[String](("The field [.".+(path).+("] is missing."): String))) case "Malformed email" => org.make.core.ValidationError.apply(path, "invalid_email", scala.Some.apply[String](failure.message)) case _ => org.make.core.ValidationError.apply(path, "malformed", scala.Some.apply[String](failure.message)) } }))
525 38977 20874 - 20954 Apply scala.collection.IterableOnceOps.mkString failure.history.collect[String](({ @SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[io.circe.CursorOp,String] with java.io.Serializable { def <init>(): <$anon: io.circe.CursorOp => String> = { $anonfun.super.<init>(); () }; final override def applyOrElse[A1 <: io.circe.CursorOp, B1 >: String](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[io.circe.CursorOp]: io.circe.CursorOp): io.circe.CursorOp @unchecked) match { case (k: String): io.circe.CursorOp.DownField((field @ _)) => field case (defaultCase$ @ _) => default.apply(x1) }; final def isDefinedAt(x1: io.circe.CursorOp): Boolean = ((x1.asInstanceOf[io.circe.CursorOp]: io.circe.CursorOp): io.circe.CursorOp @unchecked) match { case (k: String): io.circe.CursorOp.DownField((field @ _)) => true case (defaultCase$ @ _) => false } }; new $anonfun() }: PartialFunction[io.circe.CursorOp,String])).reverse.mkString(".")
526 31380 20965 - 20980 Select io.circe.DecodingFailure.message failure.message
527 40002 21069 - 21108 Apply scala.Some.apply scala.Some.apply[String](("The field [.".+(path).+("] is missing."): String))
527 32177 21034 - 21109 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply(path, "mandatory", scala.Some.apply[String](("The field [.".+(path).+("] is missing."): String)))
527 43879 21056 - 21067 Literal <nosymbol> "mandatory"
528 33225 21194 - 21215 Apply scala.Some.apply org.make.api.user.userapitest scala.Some.apply[String](failure.message)
528 47289 21155 - 21216 Apply org.make.core.ValidationError.apply org.make.api.user.userapitest org.make.core.ValidationError.apply(path, "invalid_email", scala.Some.apply[String](failure.message))
528 37384 21199 - 21214 Select io.circe.DecodingFailure.message org.make.api.user.userapitest failure.message
528 45503 21177 - 21192 Literal <nosymbol> org.make.api.user.userapitest "invalid_email"
529 30569 21302 - 21317 Select io.circe.DecodingFailure.message failure.message
529 43922 21297 - 21318 Apply scala.Some.apply scala.Some.apply[String](failure.message)
529 39014 21284 - 21295 Literal <nosymbol> "malformed"
529 39760 21262 - 21319 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply(path, "malformed", scala.Some.apply[String](failure.message))
532 32968 21350 - 21392 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](errors))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
532 39469 21382 - 21382 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
532 45543 21359 - 21391 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](errors)
532 30614 21382 - 21382 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
532 37136 21382 - 21382 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
532 40566 21359 - 21391 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](errors))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
532 43658 21382 - 21382 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
532 50458 21382 - 21382 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
532 47039 21382 - 21382 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
534 40600 21463 - 21555 Apply scala.Predef.ArrowAssoc.-> org.make.api.rejectionstest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage()))))
534 44171 21454 - 21556 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.rejectionstest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
534 32714 21486 - 21486 TypeApply scala.Predef.$conforms org.make.api.rejectionstest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
534 37636 21486 - 21486 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.rejectionstest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
534 39505 21533 - 21553 Apply scala.Option.apply org.make.api.rejectionstest scala.Option.apply[String](e.getMessage())
534 50998 21486 - 21486 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.rejectionstest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
534 45498 21486 - 21486 Select org.make.core.ValidationError.codec org.make.api.rejectionstest core.this.ValidationError.codec
534 50202 21520 - 21531 Literal <nosymbol> org.make.api.rejectionstest "malformed"
534 31119 21463 - 21555 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.rejectionstest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
534 47074 21540 - 21552 Apply java.lang.Throwable.getMessage org.make.api.rejectionstest e.getMessage()
534 31079 21493 - 21554 Apply org.make.core.ValidationError.apply org.make.api.rejectionstest org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage()))
534 47112 21486 - 21486 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.rejectionstest MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
534 45458 21463 - 21485 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.rejectionstest akka.http.scaladsl.model.StatusCodes.BadRequest
534 43705 21489 - 21555 Apply scala.collection.SeqFactory.Delegate.apply org.make.api.rejectionstest scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage())))
534 37176 21509 - 21518 Literal <nosymbol> org.make.api.rejectionstest "unknown"
534 38722 21486 - 21486 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.rejectionstest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
536 37675 21717 - 21735 Apply scala.Some.apply org.make.api.question.questionapitest scala.Some.apply[String](e.getMessage())
536 36658 21652 - 21674 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.question.questionapitest akka.http.scaladsl.model.StatusCodes.BadRequest
536 50448 21682 - 21736 Apply org.make.core.ValidationError.apply org.make.api.question.questionapitest org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage()))
536 30865 21675 - 21675 TypeApply scala.Predef.$conforms org.make.api.question.questionapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
536 45283 21675 - 21675 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.question.questionapitest MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
536 36101 21675 - 21675 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.question.questionapitest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
536 32755 21704 - 21715 Literal <nosymbol> org.make.api.question.questionapitest "malformed"
536 37710 21675 - 21675 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.question.questionapitest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
536 50199 21652 - 21737 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.question.questionapitest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
536 32509 21675 - 21675 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.question.questionapitest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
536 45240 21722 - 21734 Apply enumeratum.NoSuchMember.getMessage org.make.api.question.questionapitest e.getMessage()
536 43655 21675 - 21675 Select org.make.core.ValidationError.codec org.make.api.question.questionapitest core.this.ValidationError.codec
536 42617 21643 - 21738 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.question.questionapitest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
536 38764 21652 - 21737 Apply scala.Predef.ArrowAssoc.-> org.make.api.question.questionapitest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage()))))
536 46866 21678 - 21737 Apply scala.collection.SeqFactory.Delegate.apply org.make.api.question.questionapitest scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage())))
538 45032 21813 - 21893 Apply scala.Predef.ArrowAssoc.-> org.make.api.question.questionapitest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg))))
538 39257 21836 - 21836 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.question.questionapitest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
538 30946 21836 - 21836 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.question.questionapitest MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
538 35892 21813 - 21893 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.question.questionapitest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
538 44750 21836 - 21836 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.question.questionapitest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
538 50241 21836 - 21836 Select org.make.core.ValidationError.codec org.make.api.question.questionapitest core.this.ValidationError.codec
538 42372 21836 - 21836 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.question.questionapitest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
538 32703 21839 - 21893 Apply scala.collection.SeqFactory.Delegate.apply org.make.api.question.questionapitest scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg)))
538 30909 21865 - 21880 Literal <nosymbol> org.make.api.question.questionapitest "invalid_value"
538 32464 21804 - 21894 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.question.questionapitest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
538 35852 21843 - 21892 Apply org.make.core.ValidationError.apply org.make.api.question.questionapitest org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg))
538 38510 21813 - 21835 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.question.questionapitest akka.http.scaladsl.model.StatusCodes.BadRequest
538 38226 21836 - 21836 TypeApply scala.Predef.$conforms org.make.api.question.questionapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
538 43699 21882 - 21891 Apply scala.Some.apply org.make.api.question.questionapitest scala.Some.apply[String](msg)
540 30897 21943 - 22106 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.makedirectivestest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "email_not_verified", scala.Some.apply[String]("Your email must be verified first")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
541 44793 21963 - 22096 Apply scala.Predef.ArrowAssoc.-> org.make.api.technical.makedirectivestest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "email_not_verified", scala.Some.apply[String]("Your email must be verified first"))))
541 49697 21985 - 21985 Select org.make.core.ValidationError.codec org.make.api.technical.makedirectivestest core.this.ValidationError.codec
541 36942 21985 - 21985 TypeApply scala.Predef.$conforms org.make.api.technical.makedirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
541 39053 21963 - 22096 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.technical.makedirectivestest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "email_not_verified", scala.Some.apply[String]("Your email must be verified first")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
541 45826 21985 - 21985 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.technical.makedirectivestest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
541 51335 21985 - 21985 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.technical.makedirectivestest MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
541 45787 21963 - 21984 Select akka.http.scaladsl.model.StatusCodes.Forbidden org.make.api.technical.makedirectivestest akka.http.scaladsl.model.StatusCodes.Forbidden
541 37425 21985 - 21985 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.makedirectivestest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
541 42921 21985 - 21985 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.technical.makedirectivestest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
542 39015 22004 - 22095 Apply org.make.core.ValidationError.apply org.make.api.technical.makedirectivestest org.make.core.ValidationError.apply("unknown", "email_not_verified", scala.Some.apply[String]("Your email must be verified first"))
542 51291 22031 - 22051 Literal <nosymbol> org.make.api.technical.makedirectivestest "email_not_verified"
542 43171 22053 - 22094 Apply scala.Some.apply org.make.api.technical.makedirectivestest scala.Some.apply[String]("Your email must be verified first")
542 30857 22000 - 22096 Apply scala.collection.SeqFactory.Delegate.apply org.make.api.technical.makedirectivestest scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "email_not_verified", scala.Some.apply[String]("Your email must be verified first")))
542 38268 22020 - 22029 Literal <nosymbol> org.make.api.technical.makedirectivestest "unknown"
544 36449 22195 - 22195 TypeApply scala.Predef.$conforms org.make.api.sequence.sequenceapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode]
544 49739 22195 - 22195 Select org.make.core.operation.SimpleOidcConfiguration.codec org.make.api.sequence.sequenceapitest operation.this.SimpleOidcConfiguration.codec
544 30650 22175 - 22205 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.sequence.sequenceapitest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](statusCode).->[Option[org.make.core.operation.SimpleOidcConfiguration]](config))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[Option[org.make.core.operation.SimpleOidcConfiguration]](circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec), MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]]))))
544 37462 22195 - 22195 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.sequence.sequenceapitest MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]]
544 39086 22184 - 22204 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.sequence.sequenceapitest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](statusCode).->[Option[org.make.core.operation.SimpleOidcConfiguration]](config))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[Option[org.make.core.operation.SimpleOidcConfiguration]](circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec), MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]])))
544 43960 22184 - 22204 Apply scala.Predef.ArrowAssoc.-> org.make.api.sequence.sequenceapitest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](statusCode).->[Option[org.make.core.operation.SimpleOidcConfiguration]](config)
544 45027 22195 - 22195 ApplyToImplicitArgs io.circe.Encoder.encodeOption org.make.api.sequence.sequenceapitest circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec)
544 50494 22195 - 22195 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.sequence.sequenceapitest MakeApi.this.marshaller[Option[org.make.core.operation.SimpleOidcConfiguration]](circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec), MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]])
544 42966 22195 - 22195 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.sequence.sequenceapitest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[Option[org.make.core.operation.SimpleOidcConfiguration]](circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec), MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]]))
546 51330 22251 - 22423 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.technical.makedirectivestest MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("x-get-parameters", "malformed", scala.Some.apply[String]("x-get-parameters contains unwanted values")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
547 35130 22294 - 22294 TypeApply scala.Predef.$conforms org.make.api.technical.makedirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
547 42403 22271 - 22413 Apply scala.Predef.ArrowAssoc.-> org.make.api.technical.makedirectivestest scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("x-get-parameters", "malformed", scala.Some.apply[String]("x-get-parameters contains unwanted values"))))
547 48934 22294 - 22294 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.technical.makedirectivestest MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
547 43742 22294 - 22294 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.technical.makedirectivestest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
547 46131 22294 - 22294 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue org.make.api.technical.makedirectivestest marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
547 37252 22271 - 22413 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.technical.makedirectivestest marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("x-get-parameters", "malformed", scala.Some.apply[String]("x-get-parameters contains unwanted values")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
547 36940 22294 - 22294 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.makedirectivestest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
547 30687 22294 - 22294 Select org.make.core.ValidationError.codec org.make.api.technical.makedirectivestest core.this.ValidationError.codec
547 43995 22271 - 22293 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.technical.makedirectivestest akka.http.scaladsl.model.StatusCodes.BadRequest
548 36903 22329 - 22347 Literal <nosymbol> org.make.api.technical.makedirectivestest "x-get-parameters"
548 37213 22313 - 22412 Apply org.make.core.ValidationError.apply org.make.api.technical.makedirectivestest org.make.core.ValidationError.apply("x-get-parameters", "malformed", scala.Some.apply[String]("x-get-parameters contains unwanted values"))
548 45069 22362 - 22411 Apply scala.Some.apply org.make.api.technical.makedirectivestest scala.Some.apply[String]("x-get-parameters contains unwanted values")
548 49483 22349 - 22360 Literal <nosymbol> org.make.api.technical.makedirectivestest "malformed"
548 51289 22309 - 22413 Apply scala.collection.SeqFactory.Delegate.apply org.make.api.technical.makedirectivestest scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("x-get-parameters", "malformed", scala.Some.apply[String]("x-get-parameters contains unwanted values")))
552 35341 22462 - 22486 Select akka.http.scaladsl.server.RejectionHandler.default org.make.api.technical.directives.clientdirectivestest akka.http.scaladsl.server.RejectionHandler.default
553 31764 20514 - 22594 Apply akka.http.scaladsl.server.RejectionHandler.mapRejectionResponse org.make.api.technical.directives.clientdirectivestest akka.http.scaladsl.server.RejectionHandler.newBuilder().handle(({ @SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[akka.http.scaladsl.server.Rejection,akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]] with java.io.Serializable { def <init>(): <$anon: akka.http.scaladsl.server.Rejection => (akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult])> = { $anonfun.super.<init>(); () }; final override def applyOrElse[A1 <: akka.http.scaladsl.server.Rejection, B1 >: akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[akka.http.scaladsl.server.Rejection]: akka.http.scaladsl.server.Rejection): akka.http.scaladsl.server.Rejection @unchecked) match { case (message: String, cause: Throwable): akka.http.scaladsl.server.MalformedRequestContentRejection(_, (errors: Seq[org.make.core.ValidationError]): org.make.core.ValidationFailedError((messages @ _))) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](messages))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (message: String, cause: Throwable): akka.http.scaladsl.server.MalformedRequestContentRejection(_, (failures: cats.data.NonEmptyList[io.circe.DecodingFailure]): de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport.DecodingFailures((failures @ _))) => { val errors: Seq[org.make.core.ValidationError] = failures.toList.map[org.make.core.ValidationError](((failure: io.circe.DecodingFailure) => { val path: String = failure.history.collect[String](({ @SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[io.circe.CursorOp,String] with java.io.Serializable { def <init>(): <$anon: io.circe.CursorOp => String> = { $anonfun.super.<init>(); () }; final override def applyOrElse[A1 <: io.circe.CursorOp, B1 >: String](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[io.circe.CursorOp]: io.circe.CursorOp): io.circe.CursorOp @unchecked) match { case (k: String): io.circe.CursorOp.DownField((field @ _)) => field case (defaultCase$ @ _) => default.apply(x1) }; final def isDefinedAt(x1: io.circe.CursorOp): Boolean = ((x1.asInstanceOf[io.circe.CursorOp]: io.circe.CursorOp): io.circe.CursorOp @unchecked) match { case (k: String): io.circe.CursorOp.DownField((field @ _)) => true case (defaultCase$ @ _) => false } }; new $anonfun() }: PartialFunction[io.circe.CursorOp,String])).reverse.mkString("."); failure.message match { case "Missing required field" => org.make.core.ValidationError.apply(path, "mandatory", scala.Some.apply[String](("The field [.".+(path).+("] is missing."): String))) case "Malformed email" => org.make.core.ValidationError.apply(path, "invalid_email", scala.Some.apply[String](failure.message)) case _ => org.make.core.ValidationError.apply(path, "malformed", scala.Some.apply[String](failure.message)) } })); MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](errors))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) } case (message: String, cause: Throwable): akka.http.scaladsl.server.MalformedRequestContentRejection(_, (e @ _)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (parameterName: String, errorMsg: String, cause: Option[Throwable]): akka.http.scaladsl.server.MalformedQueryParamRejection((name @ _), _, (value: Throwable): Some[Throwable]((e @ (_: enumeratum.NoSuchMember[_])))) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage())))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (parameterName: String, errorMsg: String, cause: Option[Throwable]): akka.http.scaladsl.server.MalformedQueryParamRejection((name @ _), (msg @ _), _) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case org.make.api.technical.EmailNotVerifiedRejection => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("unknown", "email_not_verified", scala.Some.apply[String]("Your email must be verified first")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (statusCode: akka.http.scaladsl.model.StatusCode, oidcConfiguration: Option[org.make.core.operation.SimpleOidcConfiguration]): org.make.api.technical.OidcAuthenticationNeededRejection((statusCode @ _), (config @ _)) => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCode](statusCode).->[Option[org.make.core.operation.SimpleOidcConfiguration]](config))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCode, Option[org.make.core.operation.SimpleOidcConfiguration]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode], MakeApi.this.marshaller[Option[org.make.core.operation.SimpleOidcConfiguration]](circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec), MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]])))) case org.make.api.technical.GetParametersRejection => MakeApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("x-get-parameters", "malformed", scala.Some.apply[String]("x-get-parameters contains unwanted values")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], MakeApi.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))) case (defaultCase$ @ _) => default.apply(x1) }; final def isDefinedAt(x1: akka.http.scaladsl.server.Rejection): Boolean = ((x1.asInstanceOf[akka.http.scaladsl.server.Rejection]: akka.http.scaladsl.server.Rejection): akka.http.scaladsl.server.Rejection @unchecked) match { case (message: String, cause: Throwable): akka.http.scaladsl.server.MalformedRequestContentRejection(_, (errors: Seq[org.make.core.ValidationError]): org.make.core.ValidationFailedError((messages @ _))) => true case (message: String, cause: Throwable): akka.http.scaladsl.server.MalformedRequestContentRejection(_, (failures: cats.data.NonEmptyList[io.circe.DecodingFailure]): de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport.DecodingFailures((failures @ _))) => true case (message: String, cause: Throwable): akka.http.scaladsl.server.MalformedRequestContentRejection(_, (e @ _)) => true case (parameterName: String, errorMsg: String, cause: Option[Throwable]): akka.http.scaladsl.server.MalformedQueryParamRejection((name @ _), _, (value: Throwable): Some[Throwable]((e @ (_: enumeratum.NoSuchMember[_])))) => true case (parameterName: String, errorMsg: String, cause: Option[Throwable]): akka.http.scaladsl.server.MalformedQueryParamRejection((name @ _), (msg @ _), _) => true case org.make.api.technical.EmailNotVerifiedRejection => true case (statusCode: akka.http.scaladsl.model.StatusCode, oidcConfiguration: Option[org.make.core.operation.SimpleOidcConfiguration]): org.make.api.technical.OidcAuthenticationNeededRejection((statusCode @ _), (config @ _)) => true case org.make.api.technical.GetParametersRejection => true case (defaultCase$ @ _) => false } }; new $anonfun() }: PartialFunction[akka.http.scaladsl.server.Rejection,akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]])).result().withFallback(akka.http.scaladsl.server.RejectionHandler.default).mapRejectionResponse(((res: akka.http.scaladsl.model.HttpResponse) => res))
563 44542 22719 - 22746 Select akka.actor.typed.Settings.config DefaultConfigComponent.this.actorSystem.settings.config