-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add convenience method to get formatted value from ‘FieldValue’ (#27)
* Add convenience method to get formatted value from ‘FieldValue’ * Add ‘InvalidFieldValueException’ * Fix ‘formatNumberGrouping’ extension function * Add extension functions for unformatted number value
- Loading branch information
1 parent
61d3cd4
commit a2c2285
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package it.facile.form | ||
|
||
import it.facile.form.storage.FieldValue | ||
|
||
class InvalidFieldValueException(fieldValue: FieldValue, override val message: String?) : Exception("Invalid FieldValue: $fieldValue") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters