Remove custom errors
Using custom error types is nice, but unnecessarily confusing.
Perhaps a replacement like this:
showError(new NoInputError('lang-name'))
showError({type:'noInput', field: 'lang-name'})
Using custom error types is nice, but unnecessarily confusing.
Perhaps a replacement like this:
showError(new NoInputError('lang-name'))
showError({type:'noInput', field: 'lang-name'})