[#EstimationError]
= EstimationError
:mrdocs:

Build a fee rate estimation error result&colon; a zero&hyphen;value estimation identifying the estimator and target, alongside the error message&period;

== Synopsis

Declared in `&lt;util&sol;fees&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:util/Unexpected.adoc[util::Unexpected&lt;FeeRateEstimationError&gt;]
EstimationError(
    xref:FeeRateEstimatorType.adoc[FeeRateEstimatorType] estimator,
    int returned&lowbar;target,
    std::string error);
----

== Return Value

An unexpected result wrapping the estimator, target, and error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *estimator*
| The estimator that produced the error&period;
| *returned&lowbar;target*
| The confirmation target associated with the failed estimate&period;
| *error*
| The error message describing the failure&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
