Hello,
i am trying to understand a an error I received from sentry. I am completely new to this and any help is appreciated.
here’s the error:
Discarded invalid parameter ‘type’ Collapse
Name
type
function createErrorFromErrorData(errorData: {message: string}): ExtendedError {
const {
message,
...extraErrorInfo
} = errorData || {};
const error : ExtendedError = new Error(message);
error.framesToPop = 1;
return Object.assign(error, extraErrorInfo);
}
let NativeModules : {[moduleName: string]: Object} = {};
Where can I go to look for this error? Is this the same error when I get during development with console.error, try catch? or something along those lines.
Is this a parameter in one of my functions?