Default constructor.
error_code();
Construct with specific error code and category.
error_code( value_type v, error_category c);
Construct from an error code enum.
template< typename ErrorEnum> error_code( ErrorEnum e);