toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UserStackAssociationErrorCode.stackNotFound:
      return 'STACK_NOT_FOUND';
    case UserStackAssociationErrorCode.userNameNotFound:
      return 'USER_NAME_NOT_FOUND';
    case UserStackAssociationErrorCode.directoryNotFound:
      return 'DIRECTORY_NOT_FOUND';
    case UserStackAssociationErrorCode.internalError:
      return 'INTERNAL_ERROR';
  }
}