toSudoProfileException

fun GraphQLResponse.Error.toSudoProfileException(): SudoProfileException

Convert from a GraphQL Error into a custom exception of type SudoProfileException