encoding: Deriving Block::Error from Tlv::Error

Refs: #1493

Change-Id: I1cbaa83e39538452794cebc15c8df43138ba7986