[TIMOB-13274] Added unknown error checking after converting to primitive
Merge pull request #137 from bryan-m-hughes/timob-13274

[TIMOB-13274] Added unknown error checking after converting to primitive