Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change error type returned to an actual error type #260

Open
IsakNaslundBh opened this issue Sep 30, 2020 · 0 comments
Open

Change error type returned to an actual error type #260

IsakNaslundBh opened this issue Sep 30, 2020 · 0 comments
Assignees
Labels
type:feature New capability or enhancement

Comments

@IsakNaslundBh
Copy link
Contributor

Description:

When something crashes in code executed, might be due to anything really, you generally get ExcelErrorNull returned from the toolkit. This type of error is not recognised as an error by the native =IFERROR( command in Excel.

This can be quite annoying when you want to set up a sheet to be ready to receive data from an adapter or similar, where a simple =IFERROR( do some stuff, "") can be a quite nice way to keep the sheet looking clean without to much hassle.

Would suggest a #VALUE or similar to be returned instead (not sure if there is like `#NULL' or similar that would be an even better fit), basically, something picked up by Excel as being an error.

https://github.com/BHoM/Excel_Toolkit/blob/master/Excel_UI/Addin/AddIn_Converts.cs seem to be the main file handling this from my quick search! :)

@IsakNaslundBh IsakNaslundBh added the type:feature New capability or enhancement label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New capability or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants