Files
node/lib
Anna Henningsen d56a7e640f src: do proper StringBytes error handling
- Return `MaybeLocal`s from `StringBytes::Encode`
- Add an `error` out parameter to pass JS exceptions to the callers
  (instead of directly throwing)
- Simplify some of the string generation methods in `string_bytes.cc`
  by unifying the `EXTERN_APEX` logic
- Reduce usage of deprecated V8 APIs.
- Remove error handling logic from JS, the `buffer.*Slice()` methods
  now throw errors themselves.
- Left TODO comments for future semver-major error message
  improvements.

This paves the way for better error messages coming out of the
StringBytes methods.

Ref: https://github.com/nodejs/node/issues/3175
PR-URL: https://github.com/nodejs/node/pull/12765
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2017-05-03 19:21:32 +02:00
..
2017-05-01 11:18:51 -07:00
2017-03-17 11:09:10 -07:00
2017-03-10 11:23:48 -08:00
2017-04-21 13:09:49 -04:00
2017-04-30 03:17:36 -04:00
2017-04-30 03:17:53 -04:00
2016-10-04 12:17:32 -04:00
2017-04-30 03:18:01 -04:00
2017-03-10 11:23:48 -08:00
2017-03-31 22:02:25 +02:00
2017-04-30 03:17:50 -04:00
2017-04-28 14:29:45 -07:00
2017-03-10 11:23:48 -08:00