LaxarJS / laxar-patterns

Utilities to implement standard event patterns in LaxarJS widgets
MIT License
5 stars 2 forks source link

errors: allow to use custom message formatter #99

Closed x1B closed 6 years ago

x1B commented 6 years ago

Currently, string.format is used to interpolate any values in error messages. However, when non-builtin format specifiers are needed (e.g. to format date-values), passing a customized formatter would be more useful.

x1B commented 6 years ago

Implemented on master (v2.1.0).