error method

StyledBlock error()

Sets the block to error type.

Implementation

StyledBlock error() {
  _type = BlockStyleType.error;
  return this;
}