welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::diag::setter_without_getter Struct Reference

Thrown by property_entries (<welder/bind_traits.hpp>) when a participating setter's property has no participating getter in that language — welder binds no write-only properties. More...

#include <welder/diag.hpp>

Public Attributes

const char * what
 What went wrong and how to fix it.

Detailed Description

Thrown by property_entries (<welder/bind_traits.hpp>) when a participating setter's property has no participating getter in that language — welder binds no write-only properties.

Definition at line 160 of file diag.hpp.

Member Data Documentation

◆ what

const char* welder::diag::setter_without_getter::what
Initial value:
=
"welder: this setter's property has NO participating getter for one "
"language (a write-only property is not idiomatic anywhere welder "
"binds); mark the matching getter, make the names pair (an explicit "
"getter(\"name\")/setter(\"name\") always pairs), or exclude the "
"setter for that language too"

What went wrong and how to fix it.

Definition at line 162 of file diag.hpp.


The documentation for this struct was generated from the following file: