Error Codes
Reference for all WF-* error codes. Click a category button below to filter.
Showing:
WF-001
Root element not found
Framework initialization cannot find the specified root DOM element. Check that your mount target exists in the HTML before calling wildflower.start().
WF-101
Error initializing component
A component's init() method or setup logic threw an exception. Check the browser console for the underlying error.
WF-102
Component instance not found
Attempting to access a component that doesn't exist in the registry. Verify the component name matches its data-component attribute and that it has been registered.
WF-103
Component context not available
A component's context object is missing when required. This usually indicates the component was destroyed or not fully initialized.
WF-104
Error in parent event handler
A parent component's event handler threw an exception when invoked by a child. Check the parent's method for errors.
WF-201
Error evaluating computed property
A computed property function threw an exception during evaluation. Check that all referenced state properties exist and have expected types.
WF-202
Circular dependency detected
Two or more computed properties reference each other, creating an infinite loop. Restructure your computed properties to break the cycle.
WF-203
Error setting state value
The reactive proxy's set trap encountered an error. This can happen when assigning invalid values or when the state object has been corrupted.
WF-204
Error deleting state value
The reactive proxy's delete trap encountered an error when removing a state property.
WF-205
Error loading state from storage
Failed to read persisted state from localStorage or sessionStorage. The stored data may be corrupted or the storage quota exceeded.
WF-206
Error saving state to storage
Failed to persist state to localStorage or sessionStorage. Check that the storage quota has not been exceeded and that the data is serializable.
WF-207
Invalid parameter for state update
A state update method received an argument of the wrong type. Verify you're passing the correct data type.
WF-208
Computed property does not exist
Attempting to access a computed property that hasn't been defined. Check the computed block in your component definition.
WF-209
Computed property must be a function
A computed property was defined as a value instead of a function. Computed properties must be functions that return a value.
WF-210
Invalid path segment
A dotted path like user.profile.name contains an invalid segment. Check for typos or undefined intermediate objects.
WF-211
Error in subscription callback
A user-provided subscription callback threw an exception. Check the function passed to subscribe().
WF-212
Pool aggregate read inside a computed
A computed read pool.length or pool.size. Pool aggregates bypass reactivity, so the computed evaluates once and never re-runs when the pool changes, leaving the bound value silently stale. Mirror the count into reactive state inside a tick() instead, e.g. if (this.count !== pool.length) this.count = pool.length;, then bind that state. Dev-mode only; stripped from production builds.
WF-301
Error resolving data in context
Context data resolution failed during binding evaluation. The bound property path may be invalid or the data structure has changed unexpectedly.
WF-302
Missing component instance in context
A context operation requires a component instance but none is available. The component may have been destroyed.
WF-303
Error updating context
The context update process encountered an exception. This is typically caused by invalid data or a corrupted context state.
WF-304
Error in context dependency notification
Failed to notify dependent contexts of a data change. A dependent binding or computed property may have an error.
WF-401
Template not found for list
A data-list element has no <template> child to use as the item template. Add a <template> element inside your list container.
WF-402
Error rendering list
The list rendering process threw an exception. Check that the list data is a valid array and that template bindings reference valid item properties.
WF-403
Error updating list item
Updating an existing list item's bindings failed. The item data may have an unexpected structure.
WF-404
Error removing list item
Removing a list item from the DOM failed. The element may have already been removed or detached.
WF-405
Error in append optimization
The optimized append path for adding items to the end of a list encountered an error. The framework will fall back to a full re-render.
WF-406
Error in swap optimization
The optimized swap path for reordering list items encountered an error. The framework will fall back to a full re-render.
WF-407
Error in sparse update optimization
The optimized sparse update path (updating a subset of list items) encountered an error. The framework will fall back to a full re-render.
WF-501
Error evaluating binding expression
A data-bind expression failed to evaluate. Check for typos in property names or invalid JavaScript expressions. Also emitted as a warning when store shorthand ($store.path) is used in data-model.
WF-502
Error evaluating class binding
A data-bind-class expression failed to evaluate. Check that the expression returns a valid string or object.
WF-503
Failed to create HTML binding context
Creating a context for a data-bind-html binding failed. Check that the binding path is valid.
WF-504
Error updating conditional context
Updating a data-show or data-render conditional context failed. Check that the bound expression evaluates to a boolean-like value.
WF-505
Class binding shape mismatch
A data-bind-class binding received a value that is not a string. The element-level path expects a space-separated class string. Inline expressions can use the {'class-name': condition} object form, but a computed property should return the resolved string itself. The framework coerces the value (truthy keys joined to a string, or the value stringified) so the page keeps rendering, but the underlying mismatch should be fixed in your code.
Wrong: computed: { classes() { return { 'is-active': this.active }; } }
Right: computed: { classes() { return this.active ? 'is-active' : ''; } }
WF-601
Error in action handler
A data-action handler method threw an exception. Check the method referenced in your data-action attribute.
WF-602
Error in component method
A component method execution failed. Check the method for runtime errors such as accessing undefined properties.
WF-603
Cannot emit: component instance not found
emit() was called but the component instance could not be located. Ensure the component is mounted and initialized.
WF-604
Cannot emit: component context not available
emit() was called but the component's context is unavailable. The component may have been destroyed.
WF-701
Route not found
Navigation attempted to access a route that hasn't been defined. Check your route configuration.
WF-702
Target route not found for alias
A route alias points to a target route that doesn't exist. Verify the alias target matches a defined route path.
WF-703
Error in route guard
A navigation guard function (beforeEnter, beforeLeave, etc.) threw an exception. Check the guard function for errors.
WF-704
Navigation queue exceeded retry limit
The navigation queue has exceeded its maximum retry attempts. This usually indicates a redirect loop in your route guards.
WF-705
Named route not found
Navigation by name references a route that doesn't exist. Check the name property in your route definitions.
WF-706
Invalid route configuration
A route definition has an invalid structure. Routes require at minimum a path property.
WF-707
Router already initialized
Attempting to initialize the router more than once. The router should only be configured and started once per application.
WF-708
No route matched for path
No route pattern matches the requested URL path. Consider adding a catch-all route (path: '*') for 404 handling.
WF-709
Error in route handler
A route's handler function threw an exception during execution.
WF-710
Error loading route component
An async/lazy-loaded route component failed to load. Check the network request and module path.
WF-711
Error in scroll behavior
The scroll restoration or positioning function threw an exception after navigation.
WF-712
Error in route lifecycle hook
A route lifecycle hook (beforeEnter, afterEnter, etc.) threw an exception.
WF-801
Error during SSR activation
Server-side rendered component activation failed. The server-rendered HTML may not match the expected component structure.
WF-802
Error during hydration
Hydrating server-rendered HTML encountered an error. Ensure the server-rendered markup matches the client component's expected structure.
WF-901
Store component name must be a string
wildflower.store() was called with a non-string first argument. The store name must be a string.
WF-902
Store component definition must be an object
wildflower.store() was called with a non-object second argument. The store definition must be a plain object.
WF-903
Error in store init hook
A store's init() lifecycle hook threw an exception. Check the store's initialization logic.
WF-904
Error creating store component
The store creation process failed. Check the store definition for structural errors.
WF-905
Error in external() accessing store
external() failed when accessing a store. Verify the store name and property path are correct.
WF-906
Error in store subscription callback
A store subscription callback threw an exception. Check the function passed to the store's subscribe() method.
WF-907
Failed to create default app-store
Automatic creation of the default application store failed. This is an internal initialization error.
WF-CSP-SYNTAX
Cannot parse expression
The CSP-safe expression parser encountered syntax it cannot parse. Simplify your binding expression or check for syntax errors.
WF-CSP-UNSUPPORTED
Expression uses unsupported syntax
The expression contains a syntax construct not supported by the CSP-safe expression parser. The parser supports literals, identifiers, member access, binary/logical/unary/conditional expressions, array expressions, and function calls. Anything else (arrow functions, template literals, object literals, destructuring, assignment, etc.) triggers this error. Simplify the expression or move the logic into a computed property or component method.
WF-CSP-SECURITY
Blocked access to restricted API
CSP security policy blocked one of: (1) a blocked global identifier (window, document, eval, Function, fetch, setTimeout, and others); (2) a blocked property access (__proto__, prototype, constructor); or (3) a function call other than external(). In CSP mode, only external() is permitted as a function call in binding expressions.
WF-EFFECT
Error resolving path in render effect
The render effect system failed to resolve a binding path during a reactive update. The bound property may not exist on the component's state.