Description
src/error/ErrFlow.sol:21 declares an empty contract:
It is:
- A typo (
ErrFLow vs the file name ErrFlow.sol).
- Empty — has no fields, functions, modifiers, or inheritance.
- Unreferenced anywhere in
src/ or test/.
Compiling this file produces an empty contract artifact whose only purpose is to confuse readers into thinking errors must be inherited from it. Free-floating errors (the rest of the file) do not require a host contract and the surrounding declarations confirm none is intended.
Location
src/error/ErrFlow.sol:21
Proposed fix
Remove the empty contract:
-contract ErrFLow {}
-
/// Thrown when burner of tokens is not the owner of tokens.
error BurnerNotOwner();
Description
src/error/ErrFlow.sol:21declares an empty contract:It is:
ErrFLowvs the file nameErrFlow.sol).src/ortest/.Compiling this file produces an empty contract artifact whose only purpose is to confuse readers into thinking errors must be inherited from it. Free-floating errors (the rest of the file) do not require a host contract and the surrounding declarations confirm none is intended.
Location
src/error/ErrFlow.sol:21Proposed fix
Remove the empty contract: