// Code generated by go-swagger; DO NOT EDIT.

package p_cloud_volumes

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"fmt"
	"io"

	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"

	"github.com/IBM-Cloud/power-go-client/power/models"
)

// PcloudCloudinstancesVolumesPostReader is a Reader for the PcloudCloudinstancesVolumesPost structure.
type PcloudCloudinstancesVolumesPostReader struct {
	formats strfmt.Registry
}

// ReadResponse reads a server response into the received o.
func (o *PcloudCloudinstancesVolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 202:
		result := NewPcloudCloudinstancesVolumesPostAccepted()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewPcloudCloudinstancesVolumesPostBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 401:
		result := NewPcloudCloudinstancesVolumesPostUnauthorized()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewPcloudCloudinstancesVolumesPostForbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 404:
		result := NewPcloudCloudinstancesVolumesPostNotFound()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 409:
		result := NewPcloudCloudinstancesVolumesPostConflict()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 422:
		result := NewPcloudCloudinstancesVolumesPostUnprocessableEntity()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewPcloudCloudinstancesVolumesPostInternalServerError()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	default:
		return nil, runtime.NewAPIError("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes] pcloud.cloudinstances.volumes.post", response, response.Code())
	}
}

// NewPcloudCloudinstancesVolumesPostAccepted creates a PcloudCloudinstancesVolumesPostAccepted with default headers values
func NewPcloudCloudinstancesVolumesPostAccepted() *PcloudCloudinstancesVolumesPostAccepted {
	return &PcloudCloudinstancesVolumesPostAccepted{}
}

/*
PcloudCloudinstancesVolumesPostAccepted describes a response with status code 202, with default header values.

Accepted
*/
type PcloudCloudinstancesVolumesPostAccepted struct {
	Payload *models.Volume
}

// IsSuccess returns true when this pcloud cloudinstances volumes post accepted response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostAccepted) IsSuccess() bool {
	return true
}

// IsRedirect returns true when this pcloud cloudinstances volumes post accepted response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostAccepted) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post accepted response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostAccepted) IsClientError() bool {
	return false
}

// IsServerError returns true when this pcloud cloudinstances volumes post accepted response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostAccepted) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post accepted response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostAccepted) IsCode(code int) bool {
	return code == 202
}

// Code gets the status code for the pcloud cloudinstances volumes post accepted response
func (o *PcloudCloudinstancesVolumesPostAccepted) Code() int {
	return 202
}

func (o *PcloudCloudinstancesVolumesPostAccepted) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostAccepted  %+v", 202, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostAccepted) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostAccepted  %+v", 202, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostAccepted) GetPayload() *models.Volume {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostAccepted) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Volume)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostBadRequest creates a PcloudCloudinstancesVolumesPostBadRequest with default headers values
func NewPcloudCloudinstancesVolumesPostBadRequest() *PcloudCloudinstancesVolumesPostBadRequest {
	return &PcloudCloudinstancesVolumesPostBadRequest{}
}

/*
PcloudCloudinstancesVolumesPostBadRequest describes a response with status code 400, with default header values.

Bad Request
*/
type PcloudCloudinstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post bad request response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostBadRequest) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post bad request response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostBadRequest) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post bad request response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostBadRequest) IsClientError() bool {
	return true
}

// IsServerError returns true when this pcloud cloudinstances volumes post bad request response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostBadRequest) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post bad request response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostBadRequest) IsCode(code int) bool {
	return code == 400
}

// Code gets the status code for the pcloud cloudinstances volumes post bad request response
func (o *PcloudCloudinstancesVolumesPostBadRequest) Code() int {
	return 400
}

func (o *PcloudCloudinstancesVolumesPostBadRequest) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostBadRequest  %+v", 400, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostBadRequest) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostBadRequest  %+v", 400, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostBadRequest) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostUnauthorized creates a PcloudCloudinstancesVolumesPostUnauthorized with default headers values
func NewPcloudCloudinstancesVolumesPostUnauthorized() *PcloudCloudinstancesVolumesPostUnauthorized {
	return &PcloudCloudinstancesVolumesPostUnauthorized{}
}

/*
PcloudCloudinstancesVolumesPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized
*/
type PcloudCloudinstancesVolumesPostUnauthorized struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post unauthorized response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostUnauthorized) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post unauthorized response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostUnauthorized) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post unauthorized response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostUnauthorized) IsClientError() bool {
	return true
}

// IsServerError returns true when this pcloud cloudinstances volumes post unauthorized response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostUnauthorized) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post unauthorized response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostUnauthorized) IsCode(code int) bool {
	return code == 401
}

// Code gets the status code for the pcloud cloudinstances volumes post unauthorized response
func (o *PcloudCloudinstancesVolumesPostUnauthorized) Code() int {
	return 401
}

func (o *PcloudCloudinstancesVolumesPostUnauthorized) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostUnauthorized  %+v", 401, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostUnauthorized) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostUnauthorized  %+v", 401, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostUnauthorized) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostUnauthorized) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostForbidden creates a PcloudCloudinstancesVolumesPostForbidden with default headers values
func NewPcloudCloudinstancesVolumesPostForbidden() *PcloudCloudinstancesVolumesPostForbidden {
	return &PcloudCloudinstancesVolumesPostForbidden{}
}

/*
PcloudCloudinstancesVolumesPostForbidden describes a response with status code 403, with default header values.

Forbidden
*/
type PcloudCloudinstancesVolumesPostForbidden struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post forbidden response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostForbidden) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post forbidden response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostForbidden) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post forbidden response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostForbidden) IsClientError() bool {
	return true
}

// IsServerError returns true when this pcloud cloudinstances volumes post forbidden response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostForbidden) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post forbidden response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostForbidden) IsCode(code int) bool {
	return code == 403
}

// Code gets the status code for the pcloud cloudinstances volumes post forbidden response
func (o *PcloudCloudinstancesVolumesPostForbidden) Code() int {
	return 403
}

func (o *PcloudCloudinstancesVolumesPostForbidden) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostForbidden  %+v", 403, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostForbidden) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostForbidden  %+v", 403, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostForbidden) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostForbidden) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostNotFound creates a PcloudCloudinstancesVolumesPostNotFound with default headers values
func NewPcloudCloudinstancesVolumesPostNotFound() *PcloudCloudinstancesVolumesPostNotFound {
	return &PcloudCloudinstancesVolumesPostNotFound{}
}

/*
PcloudCloudinstancesVolumesPostNotFound describes a response with status code 404, with default header values.

Not Found
*/
type PcloudCloudinstancesVolumesPostNotFound struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post not found response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostNotFound) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post not found response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostNotFound) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post not found response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostNotFound) IsClientError() bool {
	return true
}

// IsServerError returns true when this pcloud cloudinstances volumes post not found response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostNotFound) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post not found response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostNotFound) IsCode(code int) bool {
	return code == 404
}

// Code gets the status code for the pcloud cloudinstances volumes post not found response
func (o *PcloudCloudinstancesVolumesPostNotFound) Code() int {
	return 404
}

func (o *PcloudCloudinstancesVolumesPostNotFound) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostNotFound  %+v", 404, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostNotFound) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostNotFound  %+v", 404, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostNotFound) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostNotFound) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostConflict creates a PcloudCloudinstancesVolumesPostConflict with default headers values
func NewPcloudCloudinstancesVolumesPostConflict() *PcloudCloudinstancesVolumesPostConflict {
	return &PcloudCloudinstancesVolumesPostConflict{}
}

/*
PcloudCloudinstancesVolumesPostConflict describes a response with status code 409, with default header values.

Conflict
*/
type PcloudCloudinstancesVolumesPostConflict struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post conflict response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostConflict) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post conflict response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostConflict) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post conflict response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostConflict) IsClientError() bool {
	return true
}

// IsServerError returns true when this pcloud cloudinstances volumes post conflict response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostConflict) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post conflict response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostConflict) IsCode(code int) bool {
	return code == 409
}

// Code gets the status code for the pcloud cloudinstances volumes post conflict response
func (o *PcloudCloudinstancesVolumesPostConflict) Code() int {
	return 409
}

func (o *PcloudCloudinstancesVolumesPostConflict) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostConflict  %+v", 409, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostConflict) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostConflict  %+v", 409, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostConflict) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostConflict) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostUnprocessableEntity creates a PcloudCloudinstancesVolumesPostUnprocessableEntity with default headers values
func NewPcloudCloudinstancesVolumesPostUnprocessableEntity() *PcloudCloudinstancesVolumesPostUnprocessableEntity {
	return &PcloudCloudinstancesVolumesPostUnprocessableEntity{}
}

/*
PcloudCloudinstancesVolumesPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity
*/
type PcloudCloudinstancesVolumesPostUnprocessableEntity struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post unprocessable entity response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post unprocessable entity response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post unprocessable entity response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) IsClientError() bool {
	return true
}

// IsServerError returns true when this pcloud cloudinstances volumes post unprocessable entity response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) IsServerError() bool {
	return false
}

// IsCode returns true when this pcloud cloudinstances volumes post unprocessable entity response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) IsCode(code int) bool {
	return code == 422
}

// Code gets the status code for the pcloud cloudinstances volumes post unprocessable entity response
func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) Code() int {
	return 422
}

func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostUnprocessableEntity  %+v", 422, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostUnprocessableEntity  %+v", 422, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPcloudCloudinstancesVolumesPostInternalServerError creates a PcloudCloudinstancesVolumesPostInternalServerError with default headers values
func NewPcloudCloudinstancesVolumesPostInternalServerError() *PcloudCloudinstancesVolumesPostInternalServerError {
	return &PcloudCloudinstancesVolumesPostInternalServerError{}
}

/*
PcloudCloudinstancesVolumesPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error
*/
type PcloudCloudinstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

// IsSuccess returns true when this pcloud cloudinstances volumes post internal server error response has a 2xx status code
func (o *PcloudCloudinstancesVolumesPostInternalServerError) IsSuccess() bool {
	return false
}

// IsRedirect returns true when this pcloud cloudinstances volumes post internal server error response has a 3xx status code
func (o *PcloudCloudinstancesVolumesPostInternalServerError) IsRedirect() bool {
	return false
}

// IsClientError returns true when this pcloud cloudinstances volumes post internal server error response has a 4xx status code
func (o *PcloudCloudinstancesVolumesPostInternalServerError) IsClientError() bool {
	return false
}

// IsServerError returns true when this pcloud cloudinstances volumes post internal server error response has a 5xx status code
func (o *PcloudCloudinstancesVolumesPostInternalServerError) IsServerError() bool {
	return true
}

// IsCode returns true when this pcloud cloudinstances volumes post internal server error response a status code equal to that given
func (o *PcloudCloudinstancesVolumesPostInternalServerError) IsCode(code int) bool {
	return code == 500
}

// Code gets the status code for the pcloud cloudinstances volumes post internal server error response
func (o *PcloudCloudinstancesVolumesPostInternalServerError) Code() int {
	return 500
}

func (o *PcloudCloudinstancesVolumesPostInternalServerError) Error() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostInternalServerError  %+v", 500, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostInternalServerError) String() string {
	return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostInternalServerError  %+v", 500, o.Payload)
}

func (o *PcloudCloudinstancesVolumesPostInternalServerError) GetPayload() *models.Error {
	return o.Payload
}

func (o *PcloudCloudinstancesVolumesPostInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}
