All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.kdsl.connector.graphql.UserErrorsExtensions.kt Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.kdsl.connector.graphql

import net.nemerosa.ontrack.kdsl.connector.graphql.schema.fragment.PayloadUserErrors

fun PayloadUserErrors.convert() =
    UserErrors(
        errors = this.errors()?.map {
            UserError(
                message = it.message(),
                exception = it.exception(),
                location = it.exception(),
            )
        }
    )




© 2015 - 2024 Weber Informatics LLC | Privacy Policy