
urldsl.errors.ParamMatchingError.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.13 Show documentation
Show all versions of url-dsl_sjs1_2.13 Show documentation
A tiny library for parsing and creating urls in a type-safe way
The newest version!
package urldsl.errors
/** You can implement this trait for your own error type `A`, and provide an implicit instance in the companion object
* of `A` in order to use all pre-defined [[urldsl.language.QueryParameters]].
*
* @example
* See implementations of [[DummyError]] and [[SimpleParamMatchingError]]
*
* @tparam A
* the type of your error.
*/
trait ParamMatchingError[A] {
def missingParameterError(paramName: String): A
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy