Skip to content

fs: throw fs.access errors in JS

  • Migrate the type check of path to ERR_INVALID_ARG_TYPE
  • Add template counterparts of ASYNC_CALL, ASYNC_DEST_CALL, SYNC_CALL, SYNC_DEST_CALL
  • Migrate the access binding to collect the error context in C++, then throw the error in JS
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

fs, errors

Merge request reports

Loading