Fixed return type of runtimeError