diff --git a/vyper/semantics/types/base.py b/vyper/semantics/types/base.py index cc6f7e99a8..202901d73e 100644 --- a/vyper/semantics/types/base.py +++ b/vyper/semantics/types/base.py @@ -169,7 +169,7 @@ def abi_type(self) -> ABIType: """ The ABI type corresponding to this type """ - raise CompilerPanic("Method must be implemented by the inherited class") + raise CompilerPanic(f"Not ABI-encodable: {self}") def get_size_in(self, location: DataLocation) -> int: if location in (DataLocation.STORAGE, DataLocation.TRANSIENT):