Skip to content

Commit

Permalink
add to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Jun 25, 2024
1 parent 23292ff commit cdad7bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ object GroupIri extends StringValueCompanion[GroupIri] {
def from(value: String): Either[String, GroupIri] = value match {
case _ if value.isEmpty => Left("Group IRI cannot be empty.")
case _ if isGroupIriValid(value) => Right(GroupIri(value))
case _ => Left("Group IRI is invalid.")
case v => Left(s"Group IRI is invalid: $v")
}

/**
Expand Down

0 comments on commit cdad7bb

Please sign in to comment.