Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Feature Request] Propagate OS Errors on Make Directory and more.

Abierto
#558 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

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:

  1. Does the path not exist?
  2. Did the OS reject the path because it is not formatted correctly?
  3. Did the application not have the required permissions to create the directory?
  4. 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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nvim-lua/plenary.nvim

Todos los issues de nvim-lua/plenary.nvim

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.