Merge tag 'v1.0.40' into develop

v1.0.40 - added LPException
[#149] - fixed passing of error messages
[#versionBump] - v1.0.41
Merge branch 'release/1.0.41'