Returns the value of attribute error_code.
9 10 11
# File 'lib/dht11/result.rb', line 9 def error_code @error_code end