Should CellError ane the ErrorMessage be exported? #734
Replies: 3 comments 1 reply
-
To be honest I guess we don't really need the other information like cellAddress and type like '!REF' which is why they aren't exported and I should just use the InvalidArgumentsError |
Beta Was this translation helpful? Give feedback.
-
I believe this is an oversight on our side and |
Beta Was this translation helpful? Give feedback.
-
@MartinDawson @izulin correct me if I'm wrong. So we would need to export |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom plugin like so:
I see this PR: a64c43f
And it added DetailedCellError export but not CellError.
I basically want to return a DetailedCellError if the user hasn't typed in enough arguments into my custom function. I'd like to keep in line with hyperformula existing error structure for this.
How can I do this if the CellError is not exported from hyperformula?
I see their is also this error type too:
InvalidArgumentsError();
. So maybe I should be using this instead but this returns a string and not the object with other information like: 'N/A' or '!REF' that I was looking for.Thanks
Beta Was this translation helpful? Give feedback.
All reactions