add error-value to lamina.core, fixes #56