package org.folio.okapi.common;

/**
 * Types of errors.
 */
public enum ErrorType {
  OK, // Not really an error, but a success code
  INTERNAL, // Internal errors of any kind
  USER, // Bad requests, etc
  NOT_FOUND, // Stuff that is not there
  ANY;        // Anything else

}

@@ -84,14 +84,11 @@
 %7B%0A  
-OK, //
+/**
  Not
@@ -127,23 +127,23 @@
 code
-%0A  INTERNAL, //
+ */%0A  OK,%0A  /**
  Int
@@ -170,19 +170,29 @@
 kind
-%0A  USER, //
+ */%0A  INTERNAL,%0A  /**
  Bad
@@ -209,24 +209,25 @@
  etc
-%0A  NOT_FOUND, //
+ */%0A  USER,%0A  /**
  Stu
@@ -250,27 +250,47 @@
 here
-%0A  ANY;        // A
+ */%0A  NOT_FOUND,%0A  /** Error type for a
 nyth
@@ -297,12 +297,22 @@
 ing else
+ */%0A  ANY;
 %0A%0A%7D%0A

move documentation into javadoc comments