// Generated by Haxe 4.3.1
package haxe.io;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class Error extends haxe.lang.ParamEnum
{
	public Error(int index, java.lang.Object[] params)
	{
		//line 240 "/usr/share/haxe/std/java/internal/HxObject.hx"
		super(index, params);
	}
	
	
	public static final java.lang.String[] __hx_constructs = new java.lang.String[]{"Blocked", "Overflow", "OutsideBounds", "Custom"};
	
	public static final haxe.io.Error Blocked = new haxe.io.Error(0, null);
	
	public static final haxe.io.Error Overflow = new haxe.io.Error(1, null);
	
	public static final haxe.io.Error OutsideBounds = new haxe.io.Error(2, null);
	
	public static haxe.io.Error Custom(java.lang.Object e)
	{
		//line 42 "/usr/share/haxe/std/haxe/io/Error.hx"
		return new haxe.io.Error(3, new java.lang.Object[]{e});
	}
	
	
	@Override public java.lang.String getTag()
	{
		//line 31 "/usr/share/haxe/std/haxe/io/Error.hx"
		return haxe.io.Error.__hx_constructs[this.index];
	}
	
	
}


