Skip to content

Commit

Permalink
Fix the error message for noSuperType
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman authored Jun 28, 2023
1 parent 527db1e commit 8270797
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object Errors {
object AutoBind {
const val missingBindingKey = "To use @AutoBindIntoMap you must also annotate the type with a map key"
const val multipleBindingKeys = "Multiple map keys specified, make sure there is only a single map key"
const val noSuperTypes = "Multiple map keys specified, make sure there is only a single map key"
const val noSuperTypes = "There are no supertypes so there is nothing to bind. Make sure you implement an interface or extend a class to use @AutoBind."
const val cannotBindInitializable = "You"
const val multipleSuperTypes = "Multiple supertypes found. Use the `asTypes` parameter to specify which types to bind"

Expand Down Expand Up @@ -50,4 +50,4 @@ object Errors {
fun targetIsNotAutoBind(replacedObject: String): String =
"Replacement target $replacedObject must be annotated with @AutoBind"
}
}
}

0 comments on commit 8270797

Please sign in to comment.