Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

APIs should use a combination of these approaches both to help clients distinguish correct from incorrect results and to encourage careful handling of any incorrect results. At the same time, in some cases, an error value instead of an exception should be returned, and vice versa.  A A method should not return a value that could both indicate valid return data or an error indicator; see   ERR52-JG. Avoid in-band error indicators for more details.

...