Files
node/src
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-04-29 17:20:00 +02:00
2017-04-27 17:40:06 +02:00
2017-04-29 17:20:00 +02:00
2017-04-24 13:54:17 -07:00
2017-04-24 13:54:17 -07:00
2016-06-28 21:21:21 +02:00
2017-04-17 09:11:56 -07:00
2017-04-16 16:12:49 +02:00
2012-02-03 14:07:32 +00:00
2017-04-27 17:40:06 +02:00
2017-04-14 22:47:29 +02:00
2016-06-28 21:21:21 +02:00