OpResult.ErrorResult (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper

## Class OpResult.ErrorResult

- java.lang.Object
- - org.apache.zookeeper.OpResult
  - - org.apache.zookeeper.OpResult.ErrorResult

- Enclosing class:
    OpResult

      public static class OpResult.ErrorResult
      extends OpResult

  An error result from any kind of operation. The point of error results is that they contain an error code which helps understand what happened.
  See Also:
    `KeeperException.Code`

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.zookeeper.OpResult

      `OpResult.CheckResult, OpResult.CreateResult, OpResult.DeleteResult, OpResult.ErrorResult, OpResult.GetChildrenResult, OpResult.GetDataResult, OpResult.SetDataResult`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ErrorResult(int err)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `getErr()`
    `int` | `hashCode()`

    - ### Methods inherited from class org.apache.zookeeper.OpResult

      `getType`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ErrorResult

          public ErrorResult(int err)

  - ### Method Detail

    - #### getErr

          public int getErr()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.