react-native/Libraries/RCTTest
Dave Miller 0c5f279c9d Standardize Error objects for Promises
Summary:
public

Promises are coming.  And as part of it, we are standardizing the error objects that will be returned.  This puts the code in place on the Android side to always send the proper error format.

It will be an error object like this
  {
    code : "E_SOME_ERROR_CODE_DEFINED_BY_MODULE", // Meant to be machine parseable
    message : "Human readable message",
    nativeError : {} // Some representation of the underlying error (Exception or NSError) , still figuring out exactly, but hopefully something with stack info
  }

Reviewed By: nicklockwood

Differential Revision: D2840128

fb-gh-sync-id: 174d620e2beb53e1fc14161a10fd0479218d98a6
2016-01-19 12:20:37 -08:00
..
FBSnapshotTestCase Bugfix - Typos 2015-12-15 09:09:32 -08:00
RCTTest.xcodeproj Introduce SnapshotView which wraps Renderable content and will verify the snapshot 2015-10-02 12:15:24 -07:00
RCTSnapshotManager.h Introduce SnapshotView which wraps Renderable content and will verify the snapshot 2015-10-02 12:15:24 -07:00
RCTSnapshotManager.m RCTImagePicker now uses main thread 2015-11-16 03:17:29 -08:00
RCTTestModule.h Migrate unit tests from FBReactKitModules to FBReactKit 2015-07-07 16:39:35 -08:00
RCTTestModule.m Standardize Error objects for Promises 2016-01-19 12:20:37 -08:00
RCTTestRunner.h Move JS integration tests to root folder 2015-11-18 09:35:19 -08:00
RCTTestRunner.m Wait for JSExecutor to tear down in RCTBridgeTests 2016-01-05 15:30:33 -08:00
SnapshotViewIOS.android.js Move SnapshotView to SnapshotViewIOS and create an unimplemented android version 2015-10-13 11:48:38 -07:00
SnapshotViewIOS.ios.js fix several lint warnings 2015-12-01 07:26:29 -08:00