public FileStoreErrorCode getError() {
    return error;
  }
Creates a new FileStoreException with a message and error code.

@param s The error message describing what went wrong
@param error The specific error code categorizing the failure
ambry-api/src/main/java/com/github/ambry/store/FileStoreException.java