Fixed call to missing function

Added inline error message function

Signed-off-by: Byron Sanchez <byron@hackbytes.com>