Add .length, add timeoutError.code

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>