Added custom error if error_get_last() does not return anything.
removed whitespaces
Merge pull request #62 from empi89/patch-error_get_last

Added custom error if error_get_last() does not return anything. v2