code: public static ErrorDetails exception( Throwable t ) {
  		return new ErrorDetails( Utils.writeExceptionButDoNotUseItForLogging( t ), ErrorDetailsKind.EXCEPTION );
  	}
docs: Details for an exception.
  @param t a throwable
  @return an object with error details