We've indeed seen and discussed that article 😊 It has some good suggestions though seems mostly focused on errrors related to user input (like in forms, which is something we could/should quite easily improve in Bonfire).
I'd also like feedback on how we could improve messages related to unexpected or general errors, such as due to or untested edge case. For example:
- You seem to have provided an incorrect data type (eg. an invalid ID)
- You seem to be referencing an invalid object ID, or trying to insert duplicated data
- The data provided caused an unexpected error and could do not be inserted or updated
- The data provided seems invalid and could not be inserted or updated
- Invalid arguments passed
- The function
post/2 in module Posts didn't receive data in a format it can recognise - A function didn't receive data in a format it could recognise
- A
with condition didn't receive data in a format it could recognise - A
case condition didn't receive data in a format it could recognise - A condition didn't receive data that matched a format it could recognise
- Could not complete this action
- Could not complete this request
- The app encountered an unexpected error
- An exceptional error caused the operation to stop
- An exceptional error was thrown
- An exceptional error occurred
- Something went wrong
- Oops, this resulted in something unexpected
- You need to log in first
- Not found
- You do not have permission to [...]
- We couldn't find an account with the details you provided
- This site is by invitation only
- This link or token has expired, please request a fresh one
- This link or token was already used, please request a fresh one if necessary
- This token was not found, please request a fresh one
- This user account is disabled. Please contact the instance administrator
- Please confirm your email address first
- Reset your password to login
- User not found
- Could not delete
- Bad request: malformed header
- Unknown resource
You'll notice many of these are similar, but because they for different reasons wording them differently helps us identify the problem when reported.