object Errors extends Serializable
- Alphabetic
- By Inheritance
- Errors
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply(error: Error, errors: Error*): Errors
Creates failed result from one io.scalaland.chimney.partial.Error or more.
Creates failed result from one io.scalaland.chimney.partial.Error or more.
- error
required head io.scalaland.chimney.partial.Error
- errors
optional tail io.scalaland.chimney.partial.Errors
- returns
io.scalaland.chimney.partial.Result.Errors aggregating all passed io.scalaland.chimney.partial.Errors
- Since
0.7.0
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def fromString(message: String): Errors
Creates failed result from an error message.
Creates failed result from an error message.
- message
message to wrap in io.scalaland.chimney.partial.Error
- returns
io.scalaland.chimney.partial.Result.Errors containing one io.scalaland.chimney.partial.Error
- Since
0.7.0
- final def fromStrings(message: String, messages: String*): Errors
Creates failed result from one error message or more.
Creates failed result from one error message or more.
- message
required message to wrap in io.scalaland.chimney.partial.Error
- messages
optional messages to wrap in io.scalaland.chimney.partial.Error
- returns
io.scalaland.chimney.partial.Result.Errors aggregating all passed io.scalaland.chimney.partial.Errors
- Since
0.7.0
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def merge(errors1: Errors, errors2: Errors): Errors
Creates new failed result containing all errors of 2 existing failed results.
Creates new failed result containing all errors of 2 existing failed results.
- errors1
failed result which io.scalaland.chimney.partial.Errors should appear in the beginning
- errors2
failed result which io.scalaland.chimney.partial.Errors should appear in the end
- returns
io.scalaland.chimney.partial.Result.Errors aggregating errors from both results
- Since
0.7.0
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def single(error: Error): Errors
Creates failed result from a single io.scalaland.chimney.partial.Error.
Creates failed result from a single io.scalaland.chimney.partial.Error.
- error
required io.scalaland.chimney.partial.Error
- returns
io.scalaland.chimney.partial.Result.Errors containing one io.scalaland.chimney.partial.Error
- Since
0.7.0
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()