Ob option error

# - Why ?

When options is nil or empty, raise an exception

# - What changed ?
Added an exception, and used in document.build.
Line is too long. [102/80]