Duolith docs

Errors E0500 to E0599

E0515 Environment value that is not public

Message name is not public, so it never reaches the app

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Only values named DUOLITH_PUBLIC_* reach the app, because everything the app holds can be read by anyone who has it. A value without the prefix stays on the build machine.

How to fix it

Rename it DUOLITH_PUBLIC_..., if it is safe for anyone to read, or read it on a server instead.

In a terminal

duolith explain E0515

Mentioned in