Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Used internally by macro. Please don't use in your code.
Used internally by macro. Please don't use in your code.
Attributes
Creates failed result from one io.scalaland.chimney.partial.Error or more.
Creates failed result from one io.scalaland.chimney.partial.Error or more.
Value parameters
- error
-
required head io.scalaland.chimney.partial.Error
- errors
-
optional tail io.scalaland.chimney.partial.Errors
Attributes
- Returns
-
io.scalaland.chimney.partial.Result.Errors aggregating all passed io.scalaland.chimney.partial.Errors
- Since
-
0.7.0
Creates failed result from an error message.
Creates failed result from an error message.
Value parameters
- message
-
message to wrap in io.scalaland.chimney.partial.Error
Attributes
- Returns
-
io.scalaland.chimney.partial.Result.Errors containing one io.scalaland.chimney.partial.Error
- Since
-
0.7.0
Creates failed result from one error message or more.
Creates failed result from one error message or more.
Value parameters
- message
-
required message to wrap in io.scalaland.chimney.partial.Error
- messages
-
optional messages to wrap in io.scalaland.chimney.partial.Error
Attributes
- Returns
-
io.scalaland.chimney.partial.Result.Errors aggregating all passed io.scalaland.chimney.partial.Errors
- Since
-
0.7.0
Creates new failed result containing all errors of 2 existing failed results.
Creates new failed result containing all errors of 2 existing failed results.
Value parameters
- 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
Attributes
- Returns
-
io.scalaland.chimney.partial.Result.Errors aggregating errors from both results
- Since
-
0.7.0
Creates failed result from a single io.scalaland.chimney.partial.Error.
Creates failed result from a single io.scalaland.chimney.partial.Error.
Value parameters
- error
-
required io.scalaland.chimney.partial.Error
Attributes
- Returns
-
io.scalaland.chimney.partial.Result.Errors containing one io.scalaland.chimney.partial.Error
- Since
-
0.7.0