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 DefaultAdminConsultationModeratorApiComponent
134     with DefaultAdminOperationApiComponent
135     with DefaultAdminOperationOfQuestionApiComponent
136     with DefaultAdminPartnerApiComponent
137     with DefaultAdminPersonalityApiComponent
138     with DefaultAdminPersonalityRoleApiComponent
139     with DefaultAdminProposalApiComponent
140     with DefaultAdminQuestionPersonalityApiComponent
141     with DefaultAdminSourceApiComponent
142     with DefaultAdminUserApiComponent
143     with DefaultModerationUserApiComponent
144     with DefaultAdminWidgetApiComponent
145     with DefaultAESEncryptionComponent
146     with DefaultAuthenticationApiComponent
147     with DefaultClientServiceComponent
148     with DefaultConfigComponent
149     with DefaultMaxPropositionsThresholdsComponent
150     with DefaultConfigurationsApiComponent
151     with DefaultCrmApiComponent
152     with DefaultCrmClientComponent
153     with DefaultCrmServiceComponent
154     with DefaultCrmTemplatesServiceComponent
155     with DefaultDateHelperComponent
156     with DefaultDemographicsCardServiceComponent
157     with DefaultDownloadServiceComponent
158     with DefaultElasticSearchApiComponent
159     with DefaultElasticsearchClientComponent
160     with DefaultElasticsearchConfigurationComponent
161     with DefaultEventBusServiceComponent
162     with DefaultFacebookApiComponent
163     with DefaultFeatureServiceComponent
164     with DefaultFixturesApiComponent
165     with DefaultFixturesServiceComponent
166     with DefaultGoogleApiComponent
167     with DefaultGraphQLApiComponent
168     with DefaultGraphQLRuntimeComponent
169     with DefaultGraphQLAuthorServiceComponent
170     with DefaultGraphQLIdeaServiceComponent
171     with DefaultGraphQLOrganisationServiceComponent
172     with DefaultGraphQLQuestionServiceComponent
173     with DefaultGraphQLTagServiceComponent
174     with DefaultHomeViewServiceComponent
175     with DefaultHealthCheckApiComponent
176     with DefaultHealthCheckServiceComponent
177     with DefaultIdGeneratorComponent
178     with DefaultIdeaSearchEngineComponent
179     with DefaultIdeaServiceComponent
180     with DefaultIndexationComponent
181     with DefaultJobApiComponent
182     with DefaultJobCoordinatorServiceComponent
183     with DefaultKafkaConfigurationComponent
184     with DefaultKeywordServiceComponent
185     with DefaultMailJetConfigurationComponent
186     with DefaultMailJetTemplateConfigurationComponent
187     with DefaultMakeDataHandlerComponent
188     with DefaultMakeSettingsComponent
189     with DefaultMigrationApiComponent
190     with DefaultModerationIdeaApiComponent
191     with DefaultModerationOperationOfQuestionApiComponent
192     with DefaultModerationOrganisationApiComponent
193     with DefaultModerationProposalApiComponent
194     with DefaultModerationQuestionComponent
195     with DefaultAdminSequenceApiComponent
196     with DefaultModerationTagApiComponent
197     with DefaultModerationTagTypeApiComponent
198     with DefaultMonitoringService
199     with DefaultOauthTokenGeneratorComponent
200     with DefaultOpenIDConnectApiComponent
201     with DefaultOperationOfQuestionSearchEngineComponent
202     with DefaultOperationOfQuestionServiceComponent
203     with DefaultOperationServiceComponent
204     with DefaultOrganisationApiComponent
205     with DefaultOrganisationSearchEngineComponent
206     with DefaultOrganisationServiceComponent
207     with DefaultPartnerServiceComponent
208     with DefaultPersistentActiveFeatureServiceComponent
209     with DefaultPersistentAuthCodeServiceComponent
210     with DefaultPersistentClientServiceComponent
211     with DefaultPersistentCrmLanguageTemplateServiceComponent
212     with DefaultPersistentCrmQuestionTemplateServiceComponent
213     with DefaultPersistentCrmSynchroUserServiceComponent
214     with DefaultPersistentCrmUserServiceComponent
215     with DefaultPersistentDemographicsCardServiceComponent
216     with DefaultPersistentFeatureServiceComponent
217     with DefaultPersistentIdeaServiceComponent
218     with DefaultPersistentKeywordServiceComponent
219     with DefaultPersistentOperationOfQuestionServiceComponent
220     with DefaultPersistentOperationServiceComponent
221     with DefaultPersistentPartnerServiceComponent
222     with DefaultPersistentPersonalityRoleServiceComponent
223     with DefaultPersistentPersonalityRoleFieldServiceComponent
224     with DefaultPersistentQuestionPersonalityServiceComponent
225     with DefaultPersistentQuestionServiceComponent
226     with DefaultPersistentSequenceConfigurationServiceComponent
227     with DefaultPersistentSourceServiceComponent
228     with DefaultPersistentTagServiceComponent
229     with DefaultPersistentTagTypeServiceComponent
230     with DefaultPersistentTokenServiceComponent
231     with DefaultPersistentUserServiceComponent
232     with DefaultPersistentUserProposalsServiceComponent
233     with DefaultPersistentWidgetServiceComponent
234     with DefaultPostSearchEngineComponent
235     with DefaultPostServiceComponent
236     with DefaultQuestionPersonalityServiceComponent
237     with DefaultPersonalityApiComponent
238     with DefaultPersonalityRoleServiceComponent
239     with DefaultPersonalityRoleFieldServiceComponent
240     with DefaultProposalApiComponent
241     with DefaultProposalCoordinatorServiceComponent
242     with DefaultProposalIndexerServiceComponent
243     with DefaultProposalSearchEngineComponent
244     with DefaultProposalServiceComponent
245     with DefaultQuestionApiComponent
246     with DefaultQuestionServiceComponent
247     with DefaultReadJournalComponent
248     with DefaultSecurityApiComponent
249     with DefaultSecurityConfigurationComponent
250     with DefaultSegmentServiceComponent
251     with DefaultSendMailPublisherServiceComponent
252     with DefaultSequenceApiComponent
253     with DefaultSequenceCacheConfigurationComponent
254     with DefaultSequenceCacheManagerServiceComponent
255     with DefaultSequenceConfigurationComponent
256     with DefaultSequenceServiceComponent
257     with DefaultSessionHistoryCoordinatorServiceComponent
258     with DefaultSocialProvidersConfigurationComponent
259     with DefaultSocialServiceComponent
260     with DefaultSourceServiceComponent
261     with DefaultSpawnActorServiceComponent
262     with DefaultStorageConfigurationComponent
263     with DefaultStorageServiceComponent
264     with DefaultSwiftClientComponent
265     with DefaultTagApiComponent
266     with DefaultTagServiceComponent
267     with DefaultTagTypeServiceComponent
268     with DefaultTokenGeneratorComponent
269     with DefaultTrackingApiComponent
270     with DefaultUserProposalsServiceComponent
271     with DefaultUserApiComponent
272     with DefaultUserHistoryCoordinatorServiceComponent
273     with DefaultUserRegistrationValidatorComponent
274     with DefaultUserServiceComponent
275     with DefaultUserTokenGeneratorComponent
276     with DefaultViewApiComponent
277     with DefaultWidgetServiceComponent
278     with DefaultWebflowClientComponent
279     with DefaultWebflowConfigurationComponent
280     with JobCoordinatorComponent
281     with MakeAuthentication
282     with MakeDBExecutionContextComponent
283     with ProposalCoordinatorComponent
284     with SequenceCacheManagerComponent
285     with SequenceConfigurationActorComponent
286     with SessionHistoryCoordinatorComponent
287     with SpawnActorRefComponent
288     with UserHistoryCoordinatorComponent
289     with Logging {
290 
291   implicit val timeout: Timeout = TimeSettings.defaultTimeout
292 
293   override lazy val proposalCoordinator: ActorRef[ProposalCommand] =
294     Await.result(actorSystem.findRefByKey(ProposalCoordinator.Key), atMost = 10.seconds)
295 
296   override lazy val userHistoryCoordinator: ActorRef[UserHistoryCommand] =
297     Await.result(actorSystem.findRefByKey(UserHistoryCoordinator.Key), atMost = 10.seconds)
298 
299   override lazy val sessionHistoryCoordinator: ActorRef[SessionHistoryCommand] =
300     Await.result(actorSystem.findRefByKey(SessionHistoryCoordinator.Key), atMost = 10.seconds)
301 
302   override lazy val jobCoordinator: ActorRef[JobActor.Protocol.Command] = Await.result({
303     actorSystem.findRefByKey(JobCoordinator.Key)
304   }, atMost = 5.seconds)
305 
306   override lazy val spawnActorRef: ActorRef[SpawnProtocol.Command] = Await.result({
307     actorSystem.findRefByKey(MakeGuardian.SpawnActorKey)
308   }, atMost = 5.seconds)
309 
310   override lazy val sequenceCacheManager: ActorRef[SequenceCacheManager.Protocol] = Await.result({
311     actorSystem.findRefByKey(SequenceCacheManager.SequenceCacheActorKey)
312   }, atMost = 5.seconds)
313 
314   override lazy val sequenceConfigurationActor: ActorRef[SequenceConfigurationActorProtocol] = Await.result({
315     actorSystem.findRefByKey(SequenceConfigurationActor.SequenceConfigurationCacheActorKey)
316   }, atMost = 5.seconds)
317 
318   override lazy val readExecutionContext: EC = DatabaseConfigurationExtension(actorSystem).readThreadPool
319   override lazy val writeExecutionContext: EC = DatabaseConfigurationExtension(actorSystem).writeThreadPool
320 
321   override lazy val tokenEndpoint: TokenEndpoint = new TokenEndpoint {
322 
323     private val password: Password = new Password {
324       override val clientCredentialRequired = false
325     }
326 
327     private val reconnect: Reconnect = new Reconnect {
328       override val clientCredentialRequired = false
329     }
330 
331     override val handlers: Map[String, GrantHandler] =
332       Map[String, GrantHandler](
333         OAuthGrantType.AUTHORIZATION_CODE -> new AuthorizationCode,
334         OAuthGrantType.CLIENT_CREDENTIALS -> new ClientCredentials,
335         OAuthGrantType.PASSWORD -> password,
336         OAuthGrantType.REFRESH_TOKEN -> new RefreshToken,
337         Reconnect.RECONNECT_TOKEN -> reconnect
338       )
339   }
340   private lazy val swagger: Route =
341     path("api") {
342       host(s".*${makeSettings.techSwaggerAllowedHost}.*".r) { _ =>
343         parameters("url".?) {
344           case None => redirect(Uri("/api?url=/api-docs/swagger.json"), StatusCodes.PermanentRedirect)
345           case _    => getFromResource(s"META-INF/resources/webjars/swagger-ui/${BuildInfo.swaggerUiVersion}/index.html")
346         }
347       }
348     } ~ getFromResourceDirectory(s"META-INF/resources/webjars/swagger-ui/${BuildInfo.swaggerUiVersion}")
349 
350   private lazy val envDependentApiClasses: Set[Class[_]] =
351     makeSettings.environment match {
352       case "production" => Set.empty[Class[_]]
353       case _            => Set[Class[_]](classOf[FixturesApi])
354     }
355 
356   private lazy val apiClasses: Set[Class[_]] =
357     Set(
358       classOf[AdminActiveFeatureApi],
359       classOf[AdminClientApi],
360       classOf[AdminCrmLanguageTemplatesApi],
361       classOf[AdminCrmQuestionTemplatesApi],
362       classOf[AdminDemographicsCardApi],
363       classOf[AdminFeatureApi],
364       classOf[AdminModeratorApi],
365       classOf[AdminDialogueModeratorApi],
366       classOf[AdminConsultationModeratorApi],
367       classOf[AdminOperationApi],
368       classOf[AdminOperationOfQuestionApi],
369       classOf[AdminPartnerApi],
370       classOf[AdminPersonalityApi],
371       classOf[AdminPersonalityRoleApi],
372       classOf[AdminQuestionPersonalityApi],
373       classOf[AdminProposalApi],
374       classOf[AdminSourceApi],
375       classOf[ModerationUserApi],
376       classOf[AdminUserApi],
377       classOf[AdminWidgetApi],
378       classOf[AuthenticationApi],
379       classOf[ConfigurationsApi],
380       classOf[CrmApi],
381       classOf[ElasticSearchApi],
382       classOf[HealthCheckApi],
383       classOf[JobApi],
384       classOf[MigrationApi],
385       classOf[ModerationIdeaApi],
386       classOf[ModerationOperationOfQuestionApi],
387       classOf[ModerationOrganisationApi],
388       classOf[ModerationProposalApi],
389       classOf[ModerationQuestionApi],
390       classOf[AdminSequenceApi],
391       classOf[ModerationTagApi],
392       classOf[ModerationTagTypeApi],
393       classOf[OrganisationApi],
394       classOf[PersonalityApi],
395       classOf[ProposalApi],
396       classOf[QuestionApi],
397       classOf[SecurityApi],
398       classOf[SequenceApi],
399       classOf[TagApi],
400       classOf[TrackingApi],
401       classOf[UserApi],
402       classOf[ViewApi]
403     ) ++ envDependentApiClasses
404 
405   private lazy val optionsCors: Route = options {
406     corsHeaders() {
407       complete(StatusCodes.OK)
408     }
409   }
410   private lazy val optionsAuthorized: Route =
411     options {
412       corsHeaders() {
413         complete(StatusCodes.OK)
414       }
415     }
416 
417   private lazy val documentation = new MakeDocumentation(apiClasses, makeSettings.Http.ssl).routes
418 
419   lazy val envDependantRoutes: Route =
420     makeSettings.environment match {
421       case "production" => swagger
422       case _            => swagger ~ fixturesApi.routes
423     }
424 
425   lazy val makeRoutes: Route =
426     documentation ~
427       optionsCors ~
428       optionsAuthorized ~
429       buildRoutes ~
430       envDependantRoutes ~
431       adminActiveFeatureApi.routes ~
432       adminClientApi.routes ~
433       adminCrmLanguageTemplatesApi.routes ~
434       adminCrmQuestionTemplatesApi.routes ~
435       adminDemographicsCardApi.routes ~
436       adminFeatureApi.routes ~
437       adminModeratorApi.routes ~
438       adminDialogueModeratorApi.routes ~
439       adminConsultationModeratorApi.routes ~
440       adminOperationApi.routes ~
441       adminOperationOfQuestionApi.routes ~
442       adminPartnerApi.routes ~
443       adminPersonalityApi.routes ~
444       adminPersonalityRoleApi.routes ~
445       adminProposalApi.routes ~
446       adminQuestionPersonalityApi.routes ~
447       adminSourceApi.routes ~
448       moderationUserApi.routes ~
449       adminUserApi.routes ~
450       adminWidgetApi.routes ~
451       authenticationApi.routes ~
452       configurationsApi.routes ~
453       crmApi.routes ~
454       elasticSearchApi.routes ~
455       graphQLApi.routes ~
456       healthCheckApi.routes ~
457       jobApi.routes ~
458       migrationApi.routes ~
459       moderationIdeaApi.routes ~
460       moderationOperationOfQuestionApi.routes ~
461       moderationOrganisationApi.routes ~
462       moderationProposalApi.routes ~
463       moderationQuestionApi.routes ~
464       adminSequenceApi.routes ~
465       moderationTagApi.routes ~
466       moderationTagTypeApi.routes ~
467       organisationApi.routes ~
468       personalityApi.routes ~
469       proposalApi.routes ~
470       questionApi.routes ~
471       securityApi.routes ~
472       sequenceApi.routes ~
473       tagApi.routes ~
474       trackingApi.routes ~
475       userApi.routes ~
476       viewApi.routes
477 }
478 
479 object MakeApi extends Logging with Directives with ErrorAccumulatingCirceSupport {
480 
481   def defaultError(id: String): String =
482     s"""
483       |{
484       |  "error": "an error occurred, it has been logged with id $id"
485       |}
486     """.stripMargin
487 
488   def exceptionHandler(routeName: String, requestId: String): ExceptionHandler = ExceptionHandler {
489     case e: EmailAlreadyRegisteredException =>
490       complete(StatusCodes.BadRequest -> Seq(ValidationError("email", "already_registered", Option(e.getMessage))))
491     case e: EmailNotAllowed =>
492       complete(StatusCodes.Forbidden -> Seq(ValidationError("email", "not_allowed_to_register", Option(e.getMessage))))
493     case e: SocialProviderException =>
494       complete(StatusCodes.BadRequest -> Seq(ValidationError("token", "invalid_token", Option(e.getMessage))))
495     case ValueNotFoundException(message) => complete(StatusCodes.NotFound -> message)
496     case ValidationFailedError(messages) =>
497       complete(
498         HttpResponse(
499           status = StatusCodes.BadRequest,
500           entity = HttpEntity(ContentTypes.`application/json`, messages.asJson.toString)
501         )
502       )
503     case e: OAuthError =>
504       complete(
505         StatusCodes.getForKey(e.statusCode).getOrElse(StatusCodes.Unauthorized) ->
506           ValidationError("authentication", e.errorType, Some(e.description))
507       )
508     case ConcurrentModification(message) => complete(StatusCodes.Conflict -> message)
509     case TokenAlreadyRefreshed(message)  => complete(StatusCodes.PreconditionFailed -> message)
510     case _: EntityStreamSizeException    => complete(StatusCodes.PayloadTooLarge)
511     case e =>
512       logger.error(s"Error on request $routeName with id $requestId", e)
513       complete(
514         HttpResponse(
515           status = StatusCodes.InternalServerError,
516           entity = HttpEntity(ContentTypes.`application/json`, MakeApi.defaultError(requestId))
517         )
518       )
519   }
520 
521   val rejectionHandler: RejectionHandler = RejectionHandler
522     .newBuilder()
523     .handle {
524       case MalformedRequestContentRejection(_, ValidationFailedError(messages)) =>
525         complete(StatusCodes.BadRequest -> messages)
526       case MalformedRequestContentRejection(_, DecodingFailures(failures)) =>
527         val errors: Seq[ValidationError] = failures.toList.map { failure =>
528           val path = failure.history.collect { case DownField(field) => field }.reverse.mkString(".")
529           failure.message match {
530             case "Missing required field" => ValidationError(path, "mandatory", Some(s"The field [.$path] is missing."))
531             case "Malformed email"        => ValidationError(path, "invalid_email", Some(failure.message))
532             case _                        => ValidationError(path, "malformed", Some(failure.message))
533           }
534         }
535         complete(StatusCodes.BadRequest -> errors)
536       case MalformedRequestContentRejection(_, e) =>
537         complete(StatusCodes.BadRequest -> Seq(ValidationError("unknown", "malformed", Option(e.getMessage))))
538       case MalformedQueryParamRejection(name, _, Some(e: NoSuchMember[_])) =>
539         complete(StatusCodes.BadRequest -> Seq(ValidationError(name, "malformed", Some(e.getMessage))))
540       case MalformedQueryParamRejection(name, msg, _) =>
541         complete(StatusCodes.BadRequest -> Seq(ValidationError(name, "invalid_value", Some(msg))))
542       case EmailNotVerifiedRejection =>
543         complete(
544           StatusCodes.Forbidden ->
545             Seq(ValidationError("unknown", "email_not_verified", Some("Your email must be verified first")))
546         )
547       case OidcAuthenticationNeededRejection(statusCode, config) => complete(statusCode -> config)
548       case GetParametersRejection =>
549         complete(
550           StatusCodes.BadRequest ->
551             Seq(ValidationError("x-get-parameters", "malformed", Some("x-get-parameters contains unwanted values")))
552         )
553     }
554     .result()
555     .withFallback(RejectionHandler.default)
556     .mapRejectionResponse { res =>
557       //TODO: change Content-Type to `application/json`
558       res
559     }
560 
561 }
562 
563 trait DefaultConfigComponent extends ConfigComponent {
564   self: ActorSystemComponent =>
565 
566   override def config: Config = actorSystem.settings.config
567 }
Line Stmt Id Pos Tree Symbol Tests Code
291 42848 12036 - 12063 Select org.make.api.technical.TimeSettings.defaultTimeout org.make.api.technical.TimeSettings.defaultTimeout
486 35254 18850 - 18962 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
488 47373 19045 - 20615 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]))
488 34055 19062 - 19062 Apply org.make.api.MakeApi.$anonfun.<init> org.make.api.technical.directives.clientdirectivestest new $anonfun()
490 34469 19149 - 19149 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
490 49389 19210 - 19222 Apply java.lang.Throwable.getMessage e.getMessage()
490 47804 19149 - 19149 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
490 47466 19152 - 19225 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())))
490 36819 19149 - 19149 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
490 48835 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]])
490 47764 19126 - 19148 Select akka.http.scaladsl.model.StatusCodes.BadRequest akka.http.scaladsl.model.StatusCodes.BadRequest
490 33370 19156 - 19224 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("email", "already_registered", scala.Option.apply[String](e.getMessage()))
490 41265 19203 - 19223 Apply scala.Option.apply scala.Option.apply[String](e.getMessage())
490 40200 19149 - 19149 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
490 40161 19172 - 19179 Literal <nosymbol> "email"
490 35747 19181 - 19201 Literal <nosymbol> "already_registered"
490 33414 19126 - 19225 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]])))
490 47509 19117 - 19226 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]]))))
490 42290 19126 - 19225 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()))))
490 41019 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]]))
492 35208 19318 - 19325 Literal <nosymbol> "email"
492 47556 19327 - 19352 Literal <nosymbol> "not_allowed_to_register"
492 43354 19273 - 19294 Select akka.http.scaladsl.model.StatusCodes.Forbidden akka.http.scaladsl.model.StatusCodes.Forbidden
492 40761 19295 - 19295 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]])
492 49338 19302 - 19375 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("email", "not_allowed_to_register", scala.Option.apply[String](e.getMessage()))
492 33452 19273 - 19376 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()))))
492 34962 19295 - 19295 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
492 43389 19295 - 19295 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
492 47247 19295 - 19295 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
492 41759 19298 - 19376 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())))
492 49379 19273 - 19376 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]])))
492 32862 19295 - 19295 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]]))
492 48308 19295 - 19295 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
492 31800 19354 - 19374 Apply scala.Option.apply scala.Option.apply[String](e.getMessage())
492 41794 19264 - 19377 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]]))))
492 40720 19361 - 19373 Apply java.lang.Throwable.getMessage e.getMessage()
494 39918 19462 - 19525 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()))
494 47547 19455 - 19455 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]]))
494 41554 19455 - 19455 TypeApply scala.Predef.$conforms org.make.api.user.userapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
494 35037 19455 - 19455 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]])
494 46455 19455 - 19455 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.user.userapitest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
494 47292 19478 - 19485 Literal <nosymbol> org.make.api.user.userapitest "token"
494 32814 19423 - 19527 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]]))))
494 33409 19455 - 19455 Select org.make.core.ValidationError.codec org.make.api.user.userapitest core.this.ValidationError.codec
494 42599 19487 - 19502 Literal <nosymbol> org.make.api.user.userapitest "invalid_token"
494 35000 19511 - 19523 Apply java.lang.Throwable.getMessage org.make.api.user.userapitest e.getMessage()
494 39955 19432 - 19526 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]])))
494 32906 19458 - 19526 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())))
494 49142 19432 - 19526 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()))))
494 38917 19455 - 19455 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.user.userapitest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
494 48340 19504 - 19524 Apply scala.Option.apply org.make.api.user.userapitest scala.Option.apply[String](e.getMessage())
494 33366 19432 - 19454 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.user.userapitest akka.http.scaladsl.model.StatusCodes.BadRequest
495 39708 19572 - 19613 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]))))
495 49176 19581 - 19612 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound).->[String](message)
495 41586 19602 - 19602 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
495 46490 19602 - 19602 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[String]
495 47590 19581 - 19612 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])))
495 39375 19602 - 19602 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])
495 33151 19602 - 19602 Select io.circe.Encoder.encodeString circe.this.Encoder.encodeString
495 34793 19602 - 19602 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]))
497 32900 19664 - 19845 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))
498 48648 19694 - 19694 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromResponse marshalling.this.Marshaller.fromResponse
498 39747 19682 - 19837 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)
498 39415 19682 - 19682 Select akka.http.scaladsl.model.HttpResponse.apply$default$4 akka.http.scaladsl.model.HttpResponse.apply$default$4
498 35542 19682 - 19837 Apply akka.http.scaladsl.model.HttpResponse.apply akka.http.scaladsl.model.HttpResponse.apply(x$1, x$3, x$2, x$4)
498 46244 19682 - 19682 Select akka.http.scaladsl.model.HttpResponse.apply$default$2 akka.http.scaladsl.model.HttpResponse.apply$default$2
499 32859 19715 - 19737 Select akka.http.scaladsl.model.StatusCodes.BadRequest akka.http.scaladsl.model.StatusCodes.BadRequest
500 33193 19758 - 19827 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())
500 42111 19802 - 19826 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()
500 44892 19769 - 19800 Select akka.http.scaladsl.model.ContentTypes.application/json akka.http.scaladsl.model.ContentTypes.application/json
504 47845 19878 - 20056 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]))))
505 45962 19918 - 19930 Select scalaoauth2.provider.OAuthError.statusCode org.make.api.technical.directives.clientdirectivestest e.statusCode
505 47074 19968 - 19968 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])
505 32638 19896 - 20048 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)))
505 34265 19896 - 19967 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)
505 41541 19942 - 19966 Select akka.http.scaladsl.model.StatusCodes.Unauthorized akka.http.scaladsl.model.StatusCodes.Unauthorized
505 46003 19968 - 19968 TypeApply scala.Predef.$conforms org.make.api.technical.directives.clientdirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode]
505 39205 19968 - 19968 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]))
505 33702 19968 - 19968 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.directives.clientdirectivestest MakeApi.this.marshaller$default$2[org.make.core.ValidationError]
505 41295 19968 - 19968 Select org.make.core.ValidationError.codec org.make.api.technical.directives.clientdirectivestest core.this.ValidationError.codec
505 31043 19896 - 20048 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])))
506 40809 19981 - 20048 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))
506 48088 20028 - 20047 Apply scala.Some.apply org.make.api.technical.directives.clientdirectivestest scala.Some.apply[String](e.description)
506 39454 20015 - 20026 Select scalaoauth2.provider.OAuthError.errorType org.make.api.technical.directives.clientdirectivestest e.errorType
506 34752 20033 - 20046 Select scalaoauth2.provider.OAuthError.description org.make.api.technical.directives.clientdirectivestest e.description
506 47034 19997 - 20013 Literal <nosymbol> org.make.api.technical.directives.clientdirectivestest "authentication"
508 41336 20131 - 20131 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[String]
508 32678 20131 - 20131 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
508 39245 20110 - 20141 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])))
508 33739 20131 - 20131 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller MakeApi.this.marshaller[String](circe.this.Encoder.encodeString, MakeApi.this.marshaller$default$2[String])
508 39702 20110 - 20141 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[String](message)
508 45189 20131 - 20131 Select io.circe.Encoder.encodeString circe.this.Encoder.encodeString
508 30780 20101 - 20142 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]))))
508 46238 20131 - 20131 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]))
509 39739 20227 - 20227 TypeApply scala.Predef.$conforms org.make.api.technical.makedirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
509 31837 20227 - 20227 Select io.circe.Encoder.encodeString org.make.api.technical.makedirectivestest circe.this.Encoder.encodeString
509 34259 20227 - 20227 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]))
509 47884 20196 - 20237 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)
509 46272 20196 - 20237 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])))
509 41100 20227 - 20227 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])
509 45233 20227 - 20227 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.makedirectivestest MakeApi.this.marshaller$default$2[String]
509 39162 20187 - 20238 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]))))
510 47921 20304 - 20304 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
510 31878 20283 - 20320 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))
510 30824 20292 - 20319 Select akka.http.scaladsl.model.StatusCodes.PayloadTooLarge akka.http.scaladsl.model.StatusCodes.PayloadTooLarge
510 40801 20292 - 20319 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)
512 45711 20341 - 20407 Apply grizzled.slf4j.Logger.error MakeApi.this.logger.error(("Error on request ".+(routeName).+(" with id ").+(requestId): String), e)
513 38155 20414 - 20611 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))
514 31302 20432 - 20432 Select akka.http.scaladsl.model.HttpResponse.apply$default$2 akka.http.scaladsl.model.HttpResponse.apply$default$2
514 40842 20432 - 20603 Apply akka.http.scaladsl.model.HttpResponse.apply akka.http.scaladsl.model.HttpResponse.apply(x$5, x$7, x$6, x$8)
514 45749 20432 - 20603 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)
514 48440 20432 - 20432 Select akka.http.scaladsl.model.HttpResponse.apply$default$4 akka.http.scaladsl.model.HttpResponse.apply$default$4
514 32942 20444 - 20444 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromResponse marshalling.this.Marshaller.fromResponse
515 37407 20465 - 20496 Select akka.http.scaladsl.model.StatusCodes.InternalServerError akka.http.scaladsl.model.StatusCodes.InternalServerError
516 34295 20528 - 20559 Select akka.http.scaladsl.model.ContentTypes.application/json akka.http.scaladsl.model.ContentTypes.application/json
516 47334 20561 - 20592 Apply org.make.api.MakeApi.defaultError MakeApi.defaultError(requestId)
516 39201 20517 - 20593 Apply akka.http.scaladsl.model.HttpEntity.apply akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, MakeApi.defaultError(requestId))
523 43488 20707 - 20707 Apply org.make.api.MakeApi.$anonfun.<init> org.make.api.technical.directives.clientdirectivestest new $anonfun()
525 38958 20809 - 20843 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)
525 40591 20832 - 20832 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
525 31343 20832 - 20832 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
525 32434 20832 - 20832 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
525 37359 20832 - 20832 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]]))
525 33474 20809 - 20843 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]])))
525 45789 20832 - 20832 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]])
525 47117 20800 - 20844 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]]))))
525 44159 20832 - 20832 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
527 32935 20966 - 21487 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)) } }))
528 38997 21020 - 21100 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(".")
529 31384 21111 - 21126 Select io.circe.DecodingFailure.message failure.message
530 43910 21202 - 21213 Literal <nosymbol> "mandatory"
530 40022 21215 - 21254 Apply scala.Some.apply scala.Some.apply[String](("The field [.".+(path).+("] is missing."): String))
530 32182 21180 - 21255 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply(path, "mandatory", scala.Some.apply[String](("The field [.".+(path).+("] is missing."): String)))
531 47325 21301 - 21362 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))
531 33230 21340 - 21361 Apply scala.Some.apply org.make.api.user.userapitest scala.Some.apply[String](failure.message)
531 37401 21345 - 21360 Select io.circe.DecodingFailure.message org.make.api.user.userapitest failure.message
531 45538 21323 - 21338 Literal <nosymbol> org.make.api.user.userapitest "invalid_email"
532 39780 21408 - 21465 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply(path, "malformed", scala.Some.apply[String](failure.message))
532 39034 21430 - 21441 Literal <nosymbol> "malformed"
532 30570 21448 - 21463 Select io.circe.DecodingFailure.message failure.message
532 43953 21443 - 21464 Apply scala.Some.apply scala.Some.apply[String](failure.message)
535 43686 21528 - 21528 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]]))
535 37151 21528 - 21528 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
535 50501 21528 - 21528 Select org.make.core.ValidationError.codec core.this.ValidationError.codec
535 32973 21496 - 21538 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]]))))
535 39489 21528 - 21528 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
535 45578 21505 - 21537 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)
535 40586 21505 - 21537 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]])))
535 30615 21528 - 21528 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]])
535 47075 21528 - 21528 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
537 37191 21655 - 21664 Literal <nosymbol> org.make.api.rejectionstest "unknown"
537 47110 21686 - 21698 Apply java.lang.Throwable.getMessage org.make.api.rejectionstest e.getMessage()
537 51043 21632 - 21632 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.rejectionstest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
537 40620 21609 - 21701 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()))))
537 31122 21609 - 21701 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]])))
537 32719 21632 - 21632 TypeApply scala.Predef.$conforms org.make.api.rejectionstest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
537 43733 21635 - 21701 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())))
537 39525 21679 - 21699 Apply scala.Option.apply org.make.api.rejectionstest scala.Option.apply[String](e.getMessage())
537 44202 21600 - 21702 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]]))))
537 37653 21632 - 21632 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.rejectionstest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
537 50243 21666 - 21677 Literal <nosymbol> org.make.api.rejectionstest "malformed"
537 38741 21632 - 21632 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]]))
537 47148 21632 - 21632 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]])
537 45533 21632 - 21632 Select org.make.core.ValidationError.codec org.make.api.rejectionstest core.this.ValidationError.codec
537 31082 21639 - 21700 Apply org.make.core.ValidationError.apply org.make.api.rejectionstest org.make.core.ValidationError.apply("unknown", "malformed", scala.Option.apply[String](e.getMessage()))
537 45493 21609 - 21631 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.rejectionstest akka.http.scaladsl.model.StatusCodes.BadRequest
539 43683 21821 - 21821 Select org.make.core.ValidationError.codec org.make.api.question.questionapitest core.this.ValidationError.codec
539 45316 21821 - 21821 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]])
539 42639 21789 - 21884 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]]))))
539 36110 21821 - 21821 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.question.questionapitest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
539 37692 21863 - 21881 Apply scala.Some.apply org.make.api.question.questionapitest scala.Some.apply[String](e.getMessage())
539 45273 21868 - 21880 Apply enumeratum.NoSuchMember.getMessage org.make.api.question.questionapitest e.getMessage()
539 38783 21798 - 21883 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()))))
539 32760 21850 - 21861 Literal <nosymbol> org.make.api.question.questionapitest "malformed"
539 50491 21828 - 21882 Apply org.make.core.ValidationError.apply org.make.api.question.questionapitest org.make.core.ValidationError.apply(name, "malformed", scala.Some.apply[String](e.getMessage()))
539 46902 21824 - 21883 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())))
539 50240 21798 - 21883 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]])))
539 37727 21821 - 21821 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]]))
539 36668 21798 - 21820 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.question.questionapitest akka.http.scaladsl.model.StatusCodes.BadRequest
539 32514 21821 - 21821 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.question.questionapitest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
539 30866 21821 - 21821 TypeApply scala.Predef.$conforms org.make.api.question.questionapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
541 30910 22011 - 22026 Literal <nosymbol> org.make.api.question.questionapitest "invalid_value"
541 42394 21982 - 21982 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.question.questionapitest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
541 35901 21959 - 22039 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]])))
541 38529 21959 - 21981 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.question.questionapitest akka.http.scaladsl.model.StatusCodes.BadRequest
541 39277 21982 - 21982 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.question.questionapitest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
541 43727 22028 - 22037 Apply scala.Some.apply org.make.api.question.questionapitest scala.Some.apply[String](msg)
541 35861 21989 - 22038 Apply org.make.core.ValidationError.apply org.make.api.question.questionapitest org.make.core.ValidationError.apply(name, "invalid_value", scala.Some.apply[String](msg))
541 50282 21982 - 21982 Select org.make.core.ValidationError.codec org.make.api.question.questionapitest core.this.ValidationError.codec
541 44782 21982 - 21982 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]]))
541 30947 21982 - 21982 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]])
541 38244 21982 - 21982 TypeApply scala.Predef.$conforms org.make.api.question.questionapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
541 32708 21985 - 22039 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)))
541 45065 21959 - 22039 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))))
541 32469 21950 - 22040 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]]))))
543 30898 22089 - 22252 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]]))))
544 37442 22131 - 22131 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.makedirectivestest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
544 49736 22131 - 22131 Select org.make.core.ValidationError.codec org.make.api.technical.makedirectivestest core.this.ValidationError.codec
544 51381 22131 - 22131 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]])
544 44825 22109 - 22242 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"))))
544 42944 22131 - 22131 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]]))
544 45862 22131 - 22131 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.technical.makedirectivestest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
544 39073 22109 - 22242 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]])))
544 45823 22109 - 22130 Select akka.http.scaladsl.model.StatusCodes.Forbidden org.make.api.technical.makedirectivestest akka.http.scaladsl.model.StatusCodes.Forbidden
544 36955 22131 - 22131 TypeApply scala.Predef.$conforms org.make.api.technical.makedirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
545 39035 22150 - 22241 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"))
545 43194 22199 - 22240 Apply scala.Some.apply org.make.api.technical.makedirectivestest scala.Some.apply[String]("Your email must be verified first")
545 30858 22146 - 22242 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")))
545 51337 22177 - 22197 Literal <nosymbol> org.make.api.technical.makedirectivestest "email_not_verified"
545 38286 22166 - 22175 Literal <nosymbol> org.make.api.technical.makedirectivestest "unknown"
547 49778 22341 - 22341 Select org.make.core.operation.SimpleOidcConfiguration.codec org.make.api.sequence.sequenceapitest operation.this.SimpleOidcConfiguration.codec
547 43991 22330 - 22350 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)
547 42989 22341 - 22341 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]]))
547 50537 22341 - 22341 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]])
547 39106 22330 - 22350 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]])))
547 45060 22341 - 22341 ApplyToImplicitArgs io.circe.Encoder.encodeOption org.make.api.sequence.sequenceapitest circe.this.Encoder.encodeOption[org.make.core.operation.SimpleOidcConfiguration](operation.this.SimpleOidcConfiguration.codec)
547 37479 22341 - 22341 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.sequence.sequenceapitest MakeApi.this.marshaller$default$2[Option[org.make.core.operation.SimpleOidcConfiguration]]
547 36459 22341 - 22341 TypeApply scala.Predef.$conforms org.make.api.sequence.sequenceapitest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCode]
547 30651 22321 - 22351 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]]))))
549 51376 22397 - 22569 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]]))))
550 35136 22440 - 22440 TypeApply scala.Predef.$conforms org.make.api.technical.makedirectivestest scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
550 37268 22417 - 22559 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]])))
550 48970 22440 - 22440 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]])
550 44026 22417 - 22439 Select akka.http.scaladsl.model.StatusCodes.BadRequest org.make.api.technical.makedirectivestest akka.http.scaladsl.model.StatusCodes.BadRequest
550 30688 22440 - 22440 Select org.make.core.ValidationError.codec org.make.api.technical.makedirectivestest core.this.ValidationError.codec
550 36953 22440 - 22440 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.technical.makedirectivestest MakeApi.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
550 46167 22440 - 22440 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]]))
550 43771 22440 - 22440 ApplyToImplicitArgs io.circe.Encoder.encodeSeq org.make.api.technical.makedirectivestest circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
550 42425 22417 - 22559 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"))))
551 49521 22495 - 22506 Literal <nosymbol> org.make.api.technical.makedirectivestest "malformed"
551 51335 22455 - 22559 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")))
551 45102 22508 - 22557 Apply scala.Some.apply org.make.api.technical.makedirectivestest scala.Some.apply[String]("x-get-parameters contains unwanted values")
551 37228 22459 - 22558 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"))
551 36916 22475 - 22493 Literal <nosymbol> org.make.api.technical.makedirectivestest "x-get-parameters"
555 35348 22608 - 22632 Select akka.http.scaladsl.server.RejectionHandler.default org.make.api.technical.directives.clientdirectivestest akka.http.scaladsl.server.RejectionHandler.default
556 31768 20660 - 22740 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))
566 44573 22865 - 22892 Select akka.actor.typed.Settings.config DefaultConfigComponent.this.actorSystem.settings.config