stdlib: Implement error() function.