Template:std print exceptions


 * std on allocation failure.
 * std, if writing to the stream fails.
 * Propagates any exception thrown by used formatters, e.g. std.