check(
frame) ->ok,err
Check a frame against the rules its painters rely on
Refuses an element outside the frame, a box or a group too small to have an inside, an unknown shape, line or marker, a route whose neighbouring points differ in both coordinates, a route too short for its markers, a text that holds a newline, an unknown kind, and a title or a description that is no string. A painter given a checked frame raises nothing.