mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-23 14:57:18 +00:00

Currently, both of these functions accept two arguments: the error title, and the error description. This function signature makes is hard to keep adding options to these error creation functions, like an error code, so this commit refactors them to take a single argument: an options object containing `title` and `description` properties. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>