Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.1

# Error::operator = ( Error & )

Copy an error.

Virtual? | No |
Class | `Error` |
Arguments | `Error & source` | the `Error` to be copied
Returns | `void` |

## Notes

The “=” operator copies one `Error` into another.

## Example

The following example sets `Error` `e1` to equal `e2`.

    Error e1, e2;
    e1 = e2;

Your search for returned results