Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new format in the error messages #60

Closed
MrDave1999 opened this issue Mar 22, 2022 · 0 comments · Fixed by #63
Closed

Add a new format in the error messages #60

MrDave1999 opened this issue Mar 22, 2022 · 0 comments · Fixed by #63
Labels
feature New feature or request
Milestone

Comments

@MrDave1999
Copy link
Owner

MrDave1999 commented Mar 22, 2022

Example:

error: 'MYSQL_HOST' is not set. (Parameter 'variable')
error: 'MYSQL_HOST' is not set.

Parsing error (line 2, col 4): 'MYSQL_HOST' is not set.
./dotnet/.env:(line 2, col 4): error: 'MYSQL_HOST' is not set.

Parsing error: Data source is empty or consists only in whitespace.
.env.local: error: Data source is empty or consists only in whitespace.

Parsing error (line 2, col 1): '=VAL' does not have the format of key-value pair.
./dotnet/.env:(line 2, col 1): error: '=VAL' does not have the format of key-value pair.

Parsing error (line 3, col 4): '${ }' is an invalid interpolation expression.
.env:(line 3, col 4): error: '${}' is an invalid interpolation expression.

Parsing error (line 2, col 1): 'This is an error' does not have the format of key-value pair.
./dotnet/.env:(line 2, col 1): error: 'This is an error' does not have the format of key-value pair.

.env.local: error: No such file or directory.

error: Any of these .env files must be present in the root directory of your project: .env.test.local or .env.local
error: Any of these .env files must be present in the root directory of your project: .env.development.local or .env.dev.local or .env.local

error: 'MYSQL_USER' is a key required by the application.
@MrDave1999 MrDave1999 linked a pull request Mar 26, 2022 that will close this issue
@MrDave1999 MrDave1999 added the feature New feature or request label Mar 26, 2022
@MrDave1999 MrDave1999 added this to the 8.0.0 milestone Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant