diff --git a/docs/api.md b/docs/api.md index 76c24e40e87..370ec3b8028 100644 --- a/docs/api.md +++ b/docs/api.md @@ -479,7 +479,7 @@ Emitted when the JavaScript code makes a call to `console.timeStamp`. For the li of metrics see `page.metrics`. #### event: 'pageerror' -- <[string]> The exception message +- <[Error]> The exception message Emitted when an uncaught exception happens within the page.