@remix-run/router 0.0.0-experimental-5bedc168 → 0.0.0-experimental-cbcd94b7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v0.0.0-experimental-5bedc168
2
+ * @remix-run/router v0.0.0-experimental-cbcd94b7
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -4356,7 +4356,8 @@ async function convertHandlerResultToDataResult(handlerResult) {
4356
4356
  if (type === ResultType.error) {
4357
4357
  return {
4358
4358
  type,
4359
- error: result
4359
+ error: result,
4360
+ statusCode: isRouteErrorResponse(result) ? result.status : undefined
4360
4361
  };
4361
4362
  }
4362
4363
  if (isDeferredData(result)) {