Add stub for raise
Return error in raise
Set errno and return -1
Merge pull request #2228 from Daft-Freak/patch-1

Add stub for raise