Epok Engine

EPOK RUNTIME

epok::NavigationAgentComponent::failed

Method · 1 overload

Method

Performs `failed` as part of the navigation components module.

Belongs to
epok::NavigationAgentComponent
Header
navigation_components.hpp
Overloads
1

Declaration

const
Declaration
bool failed() const

Performs `failed` as part of the navigation components module.

This overload takes no parameters.

Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "navigation_components.hpp"

epok::NavigationAgentComponent& object = /* obtain a valid instance */;

auto result = object.failed();

Why use it

The method is `const`, so it does not mutate the object through this API surface. The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/navigation_components.hpp:113

Related members