
urldsl.errors.FragmentMatchingError.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of url-dsl_sjs1_2.12 Show documentation
Show all versions of url-dsl_sjs1_2.12 Show documentation
A tiny library for parsing and creating urls in a type-safe way
The newest version!
package urldsl.errors
trait FragmentMatchingError[E] {
/** Happens when the fragment was expected but is missing. */
def missingFragmentError: E
/** Happens when you don't want the fragment to be present, but it was there. */
def fragmentWasPresent(value: String): E
/** Happens when the fragment is present but does not match the expected value. */
def wrongValue[T](actual: T, expected: T): E
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy