k06a / boolinq

Simplest C++ header-only LINQ template library
MIT License
628 stars 79 forks source link

'boolinq::LinqEndException' is not derived from 'std::exception' #66

Open Cirnoo opened 2 years ago

Cirnoo commented 2 years ago

can‘t be caught by std::exception &

k06a commented 2 years ago

@Cirnoo can you provide more details on benefits? Sounds like a good idea, but what it will actually bring us?

Cirnoo commented 2 years ago

For example, I need to call , and I want to handle any exceptions that it could throw. If everything inherits from , this is easy. I only need a single block, and I have a standard interface () for getting details. https://softwareengineering.stackexchange.com/questions/305641/should-one-derive-inherit-from-stdexception

May be more user friendly? Or the boolinq::LinqEndException should be shown in the document. For your reference only.