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

Thrown by property_entries (<welder/bind_traits.hpp>) when a [[=welder::setter]] sits on a function that is not a setter shape: it must be a member function taking exactly one parameter. 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 [[=welder::setter]] sits on a function that is not a setter shape: it must be a member function taking exactly one parameter.

Definition at line 126 of file diag.hpp.

Member Data Documentation

◆ what

const char* welder::diag::malformed_setter::what
Initial value:
=
"welder: a [[=welder::setter]] must mark a member function taking "
"exactly ONE parameter (the new value); a multi-argument update is a "
"method, not a property write"

What went wrong and how to fix it.

Definition at line 128 of file diag.hpp.


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