[Feature Request] Propagate OS Errors on Make Directory and more.
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- lua
- Área
- operating-systems
Línea de trabajo
Start by locating the mkdir implementation and the related operating-system request paths. Trace how failures are currently turned into messages, then determine which OS details should be preserved for mkdir and the other requested operations. Done means failures expose useful underlying OS information without losing the existing context.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello, I am currently using the plenary plugin via the obsidian.nvim plug in, and is a very cool plug in. If I ever get to the point where I am writing my own plugin, I will definitely be using this library to aid in my development.
The request here is to propagate a bit more information when issuing requests to the OS. For example the specific example is invoking the mkdir function. The resulting error message is:
We couldn't mkdir: ...
It would help me during the debugging process to have more specific details associated with the failure. For example:
- Does the path not exist?
- Did the OS reject the path because it is not formatted correctly?
- Did the application not have the required permissions to create the directory?
- etc.
I would imagine this would have to be handled in an OS-specific manner, but would definitely be a huge value add to any error message!!
Thanks for the great library and I hope you consider the request!
- Lenguaje dominante
- Lua
- Estrellas
- 3.5k
- Forks
- 340
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nvim-lua/plenary.nvim
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
nvim-lua/plenary.nvim#682 ·
-
uniform usage of `os.getenv` Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
nvim-lua/plenary.nvim#680 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
nvim-lua/plenary.nvim#675 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
nvim-lua/plenary.nvim#672 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
nvim-lua/plenary.nvim#671 · 1 comentario ·
Todos los issues de nvim-lua/plenary.nvim
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
HenrikBengtsson/CBI-software#134 ·
-
Nmap
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
secondlife/slua#96 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100