stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.61k stars 369 forks source link

remove "error", "exception", "warning" from what we report #752

Open syclik opened 10 years ago

syclik commented 10 years ago

Messages from exceptions should not have the terms:

syclik commented 10 years ago

"error" can be included for initialization errors, etc. that really are errors.

syclik commented 10 years ago

Places where I've found potentially problematic messages:

bob-carpenter commented 10 years ago

What's the context for all of these changes. Is this just not to freak people about for warnings that cause rejections?

Is the plan to have whatever's doing the catching and handling indicate severity of the "problem" or "issue"?

syclik commented 10 years ago

The context for changes:

Yes, I believe that we should indicate severity from the outside. I'm not sure how we would accomplish that, but that should be the goal. I don't think the underlying function calls should just deal with identifying an error and taking action.

I just swept threw all the functions and we've reduced the word "error" from our messages quite a bit. Here are the places where they still exist (I might have missed a few):

The action is to clean up these files and reword the messages, calling existing error-checking functions where appropriate.

syclik commented 8 years ago

This depends on #1751 and is related to #512.