log: add `error` string generator

Signed-off-by: Alejandro Mery <amery@geeks.cl>